mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Fix implicit fallthrough warnings.
am: 40b77ef6b5
Change-Id: I0eee7ff35ef8943847d6966720a2c5477fc21fd0
This commit is contained in:
@@ -36,11 +36,14 @@ WriteState writeBytes(WriteState state, uint64_t value, uint8_t size) {
|
||||
*pos++ = getByte(value, 6);
|
||||
*pos++ = getByte(value, 5);
|
||||
*pos++ = getByte(value, 4);
|
||||
[[fallthrough]];
|
||||
case 4:
|
||||
*pos++ = getByte(value, 3);
|
||||
*pos++ = getByte(value, 2);
|
||||
[[fallthrough]];
|
||||
case 2:
|
||||
*pos++ = getByte(value, 1);
|
||||
[[fallthrough]];
|
||||
case 1:
|
||||
*pos++ = value;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user