From 7296aa9cf4a4d7bd937aed8c8a9eafa9a87f682f Mon Sep 17 00:00:00 2001 From: moononournation Date: Sun, 6 Jun 2021 22:31:38 +0800 Subject: [PATCH] #45 --- src/Arduino_DataBus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Arduino_DataBus.cpp b/src/Arduino_DataBus.cpp index 9b04b2b2..c3471632 100644 --- a/src/Arduino_DataBus.cpp +++ b/src/Arduino_DataBus.cpp @@ -65,16 +65,16 @@ void Arduino_DataBus::batchOperation(uint8_t batch[], size_t len) break; case WRITE_C8_D16: l++; - [[fallthrough]]; + /* fall through */ case WRITE_C8_D8: l++; - [[fallthrough]]; + /* fall through */ case WRITE_COMMAND_8: writeCommand(batch[++i]); break; case WRITE_C16_D16: l = 2; - [[fallthrough]]; + /* fall through */ case WRITE_COMMAND_16: _data16.msb = batch[++i]; _data16.lsb = batch[++i];