Open pontacko opened 2 years ago
Ouch. Good catch. Because _valueIndex is an unsigned integer, it can never be less than zero. uint8_t range is 0..255.
I should change the code so that: 0 is the initial value of _valueIndex. A _valueIndex value of 0 after the line has ended indicates no = was in the line.
Hello,
SDConfig.h:
unsigend integer 8-bit (0-255)
SDConfig.cpp:
_valueIndex = -1;
overflow to 255if (_valueIndex < 0) {
will never happen?!regards & thanks for this project