Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Feb 24, 2023
1 parent e139202 commit 832a7aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/drv_ddp.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void DRV_DDP_RunFrame() {
g_retry_delay--;
if (g_retry_delay <= 0) {
g_retry_delay = 15;
DRV_DDP_Init();
DRV_DDP_CreateSocket_Receive();
}
addLogAdv(LOG_INFO, LOG_FEATURE_DDP,"no sock\n");
return ;
Expand Down
4 changes: 4 additions & 0 deletions src/driver/drv_doorSensorWithDeepSleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ void DoorDeepSleep_Init() {
}

void DoorDeepSleep_OnEverySecond() {
#if PLATFORM_BK7231N || PLATFORM_BK7231T
if (ota_progress() >= 0) {
#else
if (false) {
#endif
// update active
g_noChangeTimePassed = 0;
g_emergencyTimeWithNoConnection = 0;
Expand Down

0 comments on commit 832a7aa

Please sign in to comment.