array in SettingWakeUp wrong size
This commit is contained in:
parent
7e2db806c3
commit
96961709f3
|
@ -22,7 +22,7 @@ namespace Pinetime {
|
|||
|
||||
Controllers::Settings& settingsController;
|
||||
uint8_t optionsTotal;
|
||||
lv_obj_t * cbOption[3];
|
||||
lv_obj_t * cbOption[4];
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -63,8 +63,8 @@ void TwiMaster::Init() {
|
|||
|
||||
TwiMaster::ErrorCodes TwiMaster::Read(uint8_t deviceAddress, uint8_t registerAddress, uint8_t *data, size_t size) {
|
||||
// this is causing an error when came from sleep
|
||||
//
|
||||
//xSemaphoreTake(mutex, portMAX_DELAY);
|
||||
|
||||
auto ret = ReadWithRetry(deviceAddress, registerAddress, data, size);
|
||||
//xSemaphoreGive(mutex);
|
||||
|
||||
|
|
|
@ -280,7 +280,7 @@ void SystemTask::OnTouchEvent() {
|
|||
if( settingsController.getWakeUpMode() == Pinetime::Controllers::Settings::WakeUpMode::SingleTap ) {
|
||||
GoToRunning();
|
||||
} else if( settingsController.getWakeUpMode() == Pinetime::Controllers::Settings::WakeUpMode::DoubleTap ) {
|
||||
// error
|
||||
|
||||
auto info = touchPanel.GetTouchInfo();
|
||||
if( info.isTouch and info.gesture == Pinetime::Drivers::Cst816S::Gestures::DoubleTap ) {
|
||||
GoToRunning();
|
||||
|
|
Loading…
Reference in New Issue
Block a user