stuartpittaway / diyBMSv4ESP32

diyBMS v4 code for the ESP32 and new controller hardware
Other
183 stars 80 forks source link

__pinMode(): Invalid pin selected #114

Open stuartpittaway opened 2 years ago

stuartpittaway commented 2 years ago

On power up of the controller on IDF 4.4 framework, the below errors are reported. System functionality doesn't appear to be affected by this and looks like an issue with the Arduino and IDF framework integration.

[    65][E][esp32-hal-gpio.c:95] __pinMode(): Invalid pin selected
E (66) gpio: gpio_set_level(226): GPIO output gpio_num error
[    76][E][esp32-hal-gpio.c:95] __pinMode(): Invalid pin selected
E (77) gpio: gpio_set_level(226): GPIO output gpio_num error
[    87][E][esp32-hal-gpio.c:95] __pinMode(): Invalid pin selected
atanisoft commented 2 years ago

This is a bug in the TFT library trying to pass -1 as a valid pin number. It should be filed upstream against the TFT library likely.