diff --git a/S - Software/0 - HSB MRTS Kathode-MCP/3 - Implementation/0 - Code/buglist.txt b/S - Software/0 - HSB MRTS Kathode-MCP/3 - Implementation/0 - Code/buglist.txt new file mode 100644 index 0000000..60cb585 --- /dev/null +++ b/S - Software/0 - HSB MRTS Kathode-MCP/3 - Implementation/0 - Code/buglist.txt @@ -0,0 +1,6 @@ +- PIN change verification not functional +- Display backlight unstable +- Display cursor unstable +- HW validation menu outdated/unfunctional +- NumberOfStages Macro for presets not implemented well. It will be ignored when generating DEFAULT presets +- repairMenu has bad reference to getmainrepairmenu \ No newline at end of file diff --git a/S - Software/0 - HSB MRTS Kathode-MCP/3 - Implementation/0 - Code/hsb-mrts/src/PIN.c b/S - Software/0 - HSB MRTS Kathode-MCP/3 - Implementation/0 - Code/hsb-mrts/src/PIN.c index 59dc514..3434cca 100644 --- a/S - Software/0 - HSB MRTS Kathode-MCP/3 - Implementation/0 - Code/hsb-mrts/src/PIN.c +++ b/S - Software/0 - HSB MRTS Kathode-MCP/3 - Implementation/0 - Code/hsb-mrts/src/PIN.c @@ -25,7 +25,6 @@ // Include files // ----------------------------------------------------------------------------- -#include #include #include "PIN.h" @@ -133,7 +132,7 @@ static ErrorStatus PIN_verifyInsertedPins(struct PIN* self) { ErrorStatus returnValue = SUCCESS; - if(memcmp(self->pinchangeFirstInsert, self->pinchangeSecondInsert, PIN_NUMBER_OF_DIGITS != 0)) + if(strncmp(self->pinchangeFirstInsert, self->pinchangeSecondInsert, PIN_NUMBER_OF_DIGITS) != 0) { // Inserted PINs are not equal returnValue = ERROR;