Removed warning due to missing header files and unused variable
This commit is contained in:
parent
6f57d01242
commit
fdc8eb4c99
@ -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
|
||||||
|
@ -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()))
|
||||||
|
Loading…
Reference in New Issue
Block a user