Browse Source
[Split] Ensure SOFT_SERIAL_PIN is defined if USE_I2C isn't defined (#17466)
pull/17483/head
Drashna Jaelre
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
platforms/avr/drivers/serial.c
|
@ -498,6 +498,10 @@ bool soft_serial_transaction(int sstd_index) { |
|
|
sei(); |
|
|
sei(); |
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
|
|
|
|
#else |
|
|
|
|
|
# ifndef USE_I2C |
|
|
|
|
|
# error SOFT_SERIAL_PIN or USE_I2C is required but has not been defined. |
|
|
|
|
|
# endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// Helix serial.c history |
|
|
// Helix serial.c history |
|
|