Fix compile warnings
This commit is contained in:
parent
574434550a
commit
7b75ca591d
|
@ -20,6 +20,8 @@ namespace {
|
||||||
return "BMA421";
|
return "BMA421";
|
||||||
case Pinetime::Controllers::MotionController::DeviceTypes::BMA425:
|
case Pinetime::Controllers::MotionController::DeviceTypes::BMA425:
|
||||||
return "BMA425";
|
return "BMA425";
|
||||||
|
case Pinetime::Controllers::MotionController::DeviceTypes::Unknown:
|
||||||
|
return "???";
|
||||||
}
|
}
|
||||||
return "???";
|
return "???";
|
||||||
}
|
}
|
||||||
|
|
|
@ -295,6 +295,7 @@ typedef void* lv_img_decoder_user_data_t;
|
||||||
#define LV_TICK_CUSTOM 1
|
#define LV_TICK_CUSTOM 1
|
||||||
#if LV_TICK_CUSTOM == 1
|
#if LV_TICK_CUSTOM == 1
|
||||||
#define LV_TICK_CUSTOM_INCLUDE "FreeRTOS.h" /*Header for the system time function*/
|
#define LV_TICK_CUSTOM_INCLUDE "FreeRTOS.h" /*Header for the system time function*/
|
||||||
|
uint32_t xTaskGetTickCount(); /*Forward declare to avoid compiler warning*/
|
||||||
#define LV_TICK_CUSTOM_SYS_TIME_EXPR (xTaskGetTickCount()) /*Expression evaluating to current system time in ms*/
|
#define LV_TICK_CUSTOM_SYS_TIME_EXPR (xTaskGetTickCount()) /*Expression evaluating to current system time in ms*/
|
||||||
#endif /*LV_TICK_CUSTOM*/
|
#endif /*LV_TICK_CUSTOM*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user