From 54ad82a42361df4ecbb920d8a5706c6929a83e12 Mon Sep 17 00:00:00 2001 From: gullradriel <3157857+gullradriel@users.noreply.github.com> Date: Sun, 26 Jan 2025 16:27:29 +0100 Subject: [PATCH] fix fallthrough warning (#2497) --- firmware/chibios-portapack/ext/fatfs/src/ff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/chibios-portapack/ext/fatfs/src/ff.c b/firmware/chibios-portapack/ext/fatfs/src/ff.c index 862f0a56..960d7af2 100644 --- a/firmware/chibios-portapack/ext/fatfs/src/ff.c +++ b/firmware/chibios-portapack/ext/fatfs/src/ff.c @@ -1060,6 +1060,7 @@ DWORD get_fat ( /* 0xFFFFFFFF:Disk error, 1:Internal error, 2..0x7FFFFFFF:Cluste } } /* go to default */ + __attribute__ ((fallthrough)); #endif default: val = 1; /* Internal error */