Merge pull request #876 from keyboardio/twi/explicit-fallthrough

device/keyboardio/twi.c: Adjust a comment to help GCC
pull/879/head
Jesse Vincent 5 years ago committed by GitHub
commit 1678acaba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -532,7 +532,7 @@ ISR(TWI_vect) {
twi_txBufferLength = 1;
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
// copy data to output register
TWDR = twi_txBuffer[twi_txBufferIndex++];

Loading…
Cancel
Save