1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-16 07:23:07 +01:00

use driver_uninstall for bus recovery to avoid crashes

This commit is contained in:
andreas
2023-08-24 21:15:37 +02:00
parent 475652ff6e
commit ec95007d9d
2 changed files with 13 additions and 32 deletions

View File

@@ -36,11 +36,10 @@ class Nmea2kTwai : public tNMEA2000{
private:
void initDriver();
gpio_num_t TxPin;
gpio_num_t RxPin;
GwLog *logger;
bool recoveryStarted=false;
};
#endif