Skip to content

Commit

Permalink
[Split] Ensure SOFT_SERIAL_PIN is defined if USE_I2C isn't defined (q…
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored and schattenbrot committed Aug 2, 2022
1 parent a25250f commit d33b470
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platforms/avr/drivers/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d33b470

Please sign in to comment.