device/keyboardio/twi.c: Adjust a comment to help GCC

Adjust a comment that signals explicit fall through, to help GCC recognise it.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/876/head
Gergely Nagy 4 years ago
parent 61e3913fe5
commit 6779e0d8e7
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -532,7 +532,7 @@ ISR(TWI_vect) {
twi_txBufferLength = 1; twi_txBufferLength = 1;
twi_txBuffer[0] = 0x00; twi_txBuffer[0] = 0x00;
} }
// transmit first byte from buffer, fall // transmit first byte from buffer, fall through
case TW_ST_DATA_ACK: // byte sent, ack returned case TW_ST_DATA_ACK: // byte sent, ack returned
// copy data to output register // copy data to output register
TWDR = twi_txBuffer[twi_txBufferIndex++]; TWDR = twi_txBuffer[twi_txBufferIndex++];

Loading…
Cancel
Save