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 nolanseaton committed Jan 23, 2023
1 parent 7052628 commit 97b1154
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 97b1154

Please sign in to comment.