diff options
Diffstat (limited to 'platforms/avr')
-rw-r--r-- | platforms/avr/drivers/serial.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platforms/avr/drivers/serial.c b/platforms/avr/drivers/serial.c index 6a36aa5f7f..730d9b7a01 100644 --- a/platforms/avr/drivers/serial.c +++ b/platforms/avr/drivers/serial.c @@ -498,6 +498,10 @@ bool soft_serial_transaction(int sstd_index) { sei(); return true; } +#else +# ifndef USE_I2C +# error SOFT_SERIAL_PIN or USE_I2C is required but has not been defined. +# endif #endif // Helix serial.c history |