@@ -275,6 +275,8 @@ log_msg("Processing camera state: " . $GLOBALS['camera_state_arr']['state']);
...
@@ -275,6 +275,8 @@ log_msg("Processing camera state: " . $GLOBALS['camera_state_arr']['state']);
get_sysfs_sensors();
get_sysfs_sensors();
log_msg("Sensors map read from the sysfs:\n".str_sensors($GLOBALS['sensors']),1);
$GLOBALS['useDefaultPageNumber']=15;
$GLOBALS['useDefaultPageNumber']=15;
$GLOBALS['protectedPage']=0;// / change to -1 to enable saving to page 0
$GLOBALS['protectedPage']=0;// / change to -1 to enable saving to page 0
///$needDetection = (elphel_get_P_value ( $GLOBALS ['sensor_port'], ELPHEL_SENSOR ) <= 0); // / we need sensor detection to be started before we can read 10359 eeprom and so select default parameters
///$needDetection = (elphel_get_P_value ( $GLOBALS ['sensor_port'], ELPHEL_SENSOR ) <= 0); // / we need sensor detection to be started before we can read 10359 eeprom and so select default parameters