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:
@ -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
|
||||
|
Reference in New Issue
Block a user