diff options
author | Drashna Jaelre <drashna@live.com> | 2022-06-25 12:34:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-25 12:34:40 -0700 |
commit | 7fd3d76faa92dd3291228e77533859793470683f (patch) | |
tree | d6c1acbdedc5408b86fd21eba1c3a91a633c0756 | |
parent | cbbdcec290f149d86834a0315941ec26358b4ff4 (diff) | |
download | qmk_firmware-7fd3d76faa92dd3291228e77533859793470683f.tar.gz qmk_firmware-7fd3d76faa92dd3291228e77533859793470683f.zip |
[Split] Ensure SOFT_SERIAL_PIN is defined if USE_I2C isn't defined (#17466)
-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 |