Removed warning due to missing header files and unused variable

This commit is contained in:
anschrammh 2023-05-03 22:50:36 +02:00
parent 6f57d01242
commit fdc8eb4c99
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@
#include <string.h> #include <string.h>
#include "ble_service.h" #include "ble_service.h"
#include "wm_mem.h" #include "wm_mem.h"
#include "utils.h"
/* Internal enum definition */ /* Internal enum definition */
typedef enum gadget_bridge_parser_fsm typedef enum gadget_bridge_parser_fsm

View File

@ -20,6 +20,7 @@ static const char *cardinals[] =
static void gesture_event_cb(lv_event_t * e) static void gesture_event_cb(lv_event_t * e)
{ {
CompassScreen_t *compassScreen = e->user_data; CompassScreen_t *compassScreen = e->user_data;
(void)compassScreen;
lv_dir_t gesture; lv_dir_t gesture;
switch(gesture = lv_indev_get_gesture_dir(lv_indev_get_act())) switch(gesture = lv_indev_get_gesture_dir(lv_indev_get_act()))