diff --git a/LibTeleinfo.cpp b/LibTeleinfo.cpp index 99aacbb..d572c84 100644 --- a/LibTeleinfo.cpp +++ b/LibTeleinfo.cpp @@ -191,7 +191,7 @@ ValueList * TInfo::valueAdd(char * name, char * value, uint8_t checksum, uint8_t TI_Debug(value); TI_Debug(F(" '")); TI_Debug((char) cheksum); - TI_Debug(F("' Not added bad checksum calulated '")); + TI_Debug(F("' Not added bad checksum calculated '")); TI_Debug((char) thischeck); TI_Debugln(F("'")); } else { @@ -276,6 +276,14 @@ ValueList * TInfo::valueAdd(char * name, char * value, uint8_t checksum, uint8_t newNode->flags = *flags; } + TI_Debug(F("Added '")); + TI_Debug(name); + TI_Debug('='); + TI_Debug(value); + TI_Debug(F("' '")); + TI_Debug((char) cheksum); + TI_Debugln(F("'")); + // return pointer on the new node return (newNode); }