0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 22:58:04 +03:00

removed a 1000 pragmas

This commit is contained in:
OneOfEleven
2023-10-28 23:11:57 +01:00
parent 37b766c2fc
commit 02ecffd210
13 changed files with 50 additions and 98 deletions

View File

@ -39,9 +39,6 @@
#include "ui/inputbox.h"
#include "ui/ui.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough="
static void ACTION_FlashLight(void)
{
switch (g_flash_light_state)
@ -63,6 +60,8 @@ static void ACTION_FlashLight(void)
case FLASHLIGHT_SOS:
// Fallthrough
default:
g_flash_light_state = FLASHLIGHT_OFF;
GPIO_ClearBit(&GPIOC->DATA, GPIOC_PIN_FLASHLIGHT);
@ -428,5 +427,3 @@ void ACTION_process(const key_code_t Key, const bool key_pressed, const bool key
break;
}
}
#pragma GCC diagnostic pop