From 6779e0d8e7634301e0a506efaac9fd28dd5217d0 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Fri, 10 Jul 2020 14:09:56 +0200 Subject: [PATCH] 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 --- src/kaleidoscope/device/keyboardio/twi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kaleidoscope/device/keyboardio/twi.c b/src/kaleidoscope/device/keyboardio/twi.c index 8b5416e0..3689e16b 100644 --- a/src/kaleidoscope/device/keyboardio/twi.c +++ b/src/kaleidoscope/device/keyboardio/twi.c @@ -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++];