code documentation, whitespace

This commit is contained in:
Isaac Connor 2017-05-20 09:03:51 -04:00
parent e7ca892efd
commit 457d7e5c94
2 changed files with 15 additions and 14 deletions

View File

@ -1214,7 +1214,8 @@ bool Monitor::Analyse() {
}
shared_data->action &= ~RESUME;
}
}
} // end if shared_data->action
if ( auto_resume_time && (now.tv_sec >= auto_resume_time) ) {
Info( "Auto resuming at count %d", image_count );
shared_data->active = true;

View File

@ -158,7 +158,7 @@ protected:
typedef struct {
uint32_t size;
char event_file[4096];
timeval recording; //bool arch dependent so use uint32 instead
timeval recording; // used as both bool and a pointer to the timestamp when recording should begin
//uint32_t frameNumber;
} VideoStoreData;
@ -218,7 +218,7 @@ protected:
// These are read from the DB and thereafter remain unchanged
unsigned int id;
char name[64];
unsigned int server_id;
unsigned int server_id; // Id of the Server object
Function function; // What the monitor is doing
bool enabled; // Whether the monitor is enabled or asleep
unsigned int width; // Normally the same as the camera, but not if partly rotated