improve structure/spacing
This commit is contained in:
parent
88b66fe5dd
commit
98b2a3f6f0
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue