summaryrefslogtreecommitdiff
path: root/platforms/avr/drivers/serial.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-06-25 19:35:17 +0000
committerQMK Bot <hello@qmk.fm>2022-06-25 19:35:17 +0000
commite30cd0fa16dd8041184bd9e909de05454b10b4fd (patch)
tree2aaf80f2864f8b5fad0dba412363d8a61c9f53ac /platforms/avr/drivers/serial.c
parentc43e89bb4a4965057a03ddffb0117de02fa867c4 (diff)
parent7fd3d76faa92dd3291228e77533859793470683f (diff)
downloadqmk_firmware-e30cd0fa16dd8041184bd9e909de05454b10b4fd.tar.gz
qmk_firmware-e30cd0fa16dd8041184bd9e909de05454b10b4fd.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'platforms/avr/drivers/serial.c')
-rw-r--r--platforms/avr/drivers/serial.c4
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