improve structure/spacing

This commit is contained in:
Isaac Connor 2018-05-15 12:44:24 -04:00
parent 88b66fe5dd
commit 98b2a3f6f0
1 changed files with 2 additions and 1 deletions

View File

@ -1544,7 +1544,8 @@ bool Monitor::Analyse() {
if ( score ) { if ( score ) {
if ( (state == IDLE || state == TAPE || state == PREALARM ) ) { if ( (state == IDLE || state == TAPE || state == PREALARM ) ) {
if ( Event::PreAlarmCount() > alarm_frame_count ) { if ( Event::PreAlarmCount() > alarm_frame_count ) {
Info( "%s: %03d - Gone into alarm state", name, image_count ); Info("%s: %03d - Gone into alarm state %u > %u",
name, image_count, Event::PreAlarmCount(), alarm_frame_count);
shared_data->state = state = ALARM; shared_data->state = state = ALARM;
if ( signal_change || (function != MOCORD && state != ALERT) ) { if ( signal_change || (function != MOCORD && state != ALERT) ) {
int pre_index; int pre_index;