stanleyhuangyc / ArduinoOBD

OBD-II library and sketches for Arduino
http://freematics.com
986 stars 518 forks source link

debug modus in OBD2UART.cpp / OBD2UART.h #73

Open stmb-100 opened 4 years ago

stmb-100 commented 4 years ago

void debugOutput(const char *s); missing in OBD2UART.h

if the debug mode is activated in the file OBD2UART.cpp with #define DEBUG Serial is activated, this error message is displayed when compiling.

error: no 'void COBD :: debugOutput (const char )' member function declared in class 'COBD' void COBD :: debugOutput (const char s)

after entering void debugOutput (const char * s); in OBD2UART.h in the OBD class under private:

an error message is no longer displayed