Fixes UART detach. Fixes #3878 (#3894)

* Fixes UART detach.  Fixes #3878

* 0 is not a good holder value for pins!

* 0 is not a good holder value for pins!
This commit is contained in:
lbernstone
2020-09-30 06:04:18 -06:00
committed by GitHub
parent 8b6d020352
commit 80418fadcf
4 changed files with 16 additions and 9 deletions

View File

@@ -104,6 +104,8 @@ public:
protected:
int _uart_nr;
uart_t* _uart;
uint8_t _tx_pin;
uint8_t _rx_pin;
};
extern void serialEventRun(void) __attribute__((weak));