General cleanups for HAL
This commit is contained in:
parent
42933c804a
commit
2c18faf3e4
7 changed files with 70 additions and 70 deletions
|
@ -254,7 +254,7 @@ static bool serial_data_available() {
|
|||
static int read_serial(const int index) {
|
||||
switch (index) {
|
||||
case 0: return MYSERIAL0.read();
|
||||
#if NUM_SERIAL > 1
|
||||
#if NUM_SERIAL > 1
|
||||
case 1: return MYSERIAL1.read();
|
||||
#endif
|
||||
default: return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue