Skip to content

Commit

Permalink
bug-fix: 修正漏れ
Browse files Browse the repository at this point in the history
- AtomCamで動体検知周期短縮できなくなっていた問題の対応
  • Loading branch information
mnakada committed Apr 1, 2024
1 parent 8107b19 commit 871abc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcallback/alarm_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ int SetAlarmConfigInterval(int interval) {
if(!alarmConfigWyze) return -1;
for(int i = 0; i < 15; i++) {
pthread_mutex_lock(&alarmConfigWyze[i].mutex);
if(alarmConfigAtom[i].alarmInterval >= 30) alarmConfigWyze[i].alarmInterval = interval;
if(alarmConfigWyze[i].alarmInterval >= 30) alarmConfigWyze[i].alarmInterval = interval;
pthread_mutex_unlock(&alarmConfigWyze[i].mutex);
}
} else {
Expand Down

0 comments on commit 871abc9

Please sign in to comment.