Merge remote-tracking branch 'origin-origin/patch-3'
# Conflicts: # src/systemtask/SystemTask.cpp
This commit is contained in:
commit
aba3d65e3a
|
@ -1,13 +1,13 @@
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <libs/date/includes/date/date.h>
|
#include <libs/date/includes/date/date.h>
|
||||||
#include <Components/DateTime/DateTimeController.h>
|
#include "components/datetime/DateTimeController.h"
|
||||||
#include <Version.h>
|
#include <Version.h>
|
||||||
#include <libs/lvgl/src/lv_core/lv_obj.h>
|
#include <libs/lvgl/src/lv_core/lv_obj.h>
|
||||||
#include <libs/lvgl/src/lv_font/lv_font.h>
|
#include <libs/lvgl/src/lv_font/lv_font.h>
|
||||||
#include <libs/lvgl/lvgl.h>
|
#include <libs/lvgl/lvgl.h>
|
||||||
#include <libraries/log/nrf_log.h>
|
#include <libraries/log/nrf_log.h>
|
||||||
#include "Tab.h"
|
#include "Tab.h"
|
||||||
#include <DisplayApp/DisplayApp.h>
|
#include "displayapp/DisplayApp.h"
|
||||||
|
|
||||||
|
|
||||||
using namespace Pinetime::Applications::Screens;
|
using namespace Pinetime::Applications::Screens;
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#include <host/ble_gap.h>
|
#include <host/ble_gap.h>
|
||||||
#include <host/util/util.h>
|
#include <host/util/util.h>
|
||||||
#include <drivers/InternalFlash.h>
|
#include <drivers/InternalFlash.h>
|
||||||
#include "../main.h"
|
#include "main.h"
|
||||||
#include "components/ble/NimbleController.h"
|
#include "components/ble/NimbleController.h"
|
||||||
|
|
||||||
using namespace Pinetime::System;
|
using namespace Pinetime::System;
|
||||||
|
@ -102,7 +102,7 @@ void SystemTask::Work() {
|
||||||
|
|
||||||
while(true) {
|
while(true) {
|
||||||
uint8_t msg;
|
uint8_t msg;
|
||||||
if (xQueueReceive(systemTasksMsgQueue, &msg, isSleeping?2500 : 1000)) {
|
if (xQueueReceive(systemTasksMsgQueue, &msg, isSleeping ? 2500 : 1000)) {
|
||||||
Messages message = static_cast<Messages >(msg);
|
Messages message = static_cast<Messages >(msg);
|
||||||
switch(message) {
|
switch(message) {
|
||||||
case Messages::GoToRunning:
|
case Messages::GoToRunning:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user