PowerBroker2 / ELMduino

Arduino OBD-II Bluetooth Scanner Interface Library for Car Hacking Projects
MIT License
635 stars 123 forks source link

ELM327::isPidSupported Error #227

Closed Fichte79 closed 7 months ago

Fichte79 commented 7 months ago

Hello everyone

I always get this error from version 3.2.1

...\libraries\ELMDuino\src\ELMduino.cpp: In member function 'bool ELM327::isPidSupported(uint8_t)': ...\libraries\ELMDuino\src\ELMduino.cpp:2838:13: error: unused variable 'checkPid' [-Werror=unused-variable] uint8_t checkPid = 0; ^~~~~~~~ cc1plus.exe: some warnings being treated as errors

What could be the problem. This error extends to the current version.

Kind regards Fichte