diff options
author | Jonathan Vander Mey <jvandermey@evertz.com> | 2021-07-17 00:41:15 -0400 |
---|---|---|
committer | JF002 <JF002@users.noreply.github.com> | 2021-07-25 18:01:13 +0200 |
commit | 7b75ca591d31ccd8883a1a1ff83cfd271959dbaa (patch) | |
tree | a27aa6d8a81556ccca78d341cee2407f15805aa3 /src | |
parent | 574434550ac372953954813e36a26d6d4c2a5cc6 (diff) |
Fix compile warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/displayapp/screens/SystemInfo.cpp | 2 | ||||
-rw-r--r-- | src/libs/lv_conf.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp index 2bb84818..e7c5b65a 100644 --- a/src/displayapp/screens/SystemInfo.cpp +++ b/src/displayapp/screens/SystemInfo.cpp @@ -20,6 +20,8 @@ namespace { return "BMA421"; case Pinetime::Controllers::MotionController::DeviceTypes::BMA425: return "BMA425"; + case Pinetime::Controllers::MotionController::DeviceTypes::Unknown: + return "???"; } return "???"; } diff --git a/src/libs/lv_conf.h b/src/libs/lv_conf.h index 18fc3fa2..73109c5a 100644 --- a/src/libs/lv_conf.h +++ b/src/libs/lv_conf.h @@ -295,6 +295,7 @@ typedef void* lv_img_decoder_user_data_t; #define LV_TICK_CUSTOM 1 #if LV_TICK_CUSTOM == 1 #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*/ #endif /*LV_TICK_CUSTOM*/ |