Просмотр исходного кода

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

QMK Bot 4 лет назад
Родитель
Сommit
4facfe9554
1 измененных файлов с 4 добавлено и 0 удалено
  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();
     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