Explorar o código

Merge remote-tracking branch 'origin/master' into develop

QMK Bot %!s(int64=2) %!d(string=hai) anos
pai
achega
e30cd0fa16
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      platforms/avr/drivers/serial.c

+ 4 - 0
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