mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-29 02:07:15 +02:00
serial global instance fix (#1243)
This commit is contained in:
committed by
Me No Dev
parent
f6a4b024c7
commit
c01e5563c8
@ -5,7 +5,9 @@
|
||||
|
||||
#include "HardwareSerial.h"
|
||||
|
||||
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
|
||||
HardwareSerial Serial(0);
|
||||
#endif
|
||||
|
||||
HardwareSerial::HardwareSerial(int uart_nr) : _uart_nr(uart_nr), _uart(NULL) {}
|
||||
|
||||
|
Reference in New Issue
Block a user