*** empty log message ***
r1263 | dcl | 2006-11-09 11:07:17 +1100 (Thu, 09 Nov 2006) | 2 lines
This commit is contained in:
@@ -351,9 +351,9 @@ void put_page(int n)
|
||||
"<tr><th align=\"right\">Field</th>\r\n"
|
||||
"<th align=\"left\">Value</th></tr>\r\n");
|
||||
buffer.length += strlen(bp);
|
||||
show_text(&buffer, "State", device->state == counter_stopped ? "STOPPED" :
|
||||
device->state == counter_running ? "RUNNING" :
|
||||
device->state == counter_paused ? "PAUSED" : "IDLE");
|
||||
show_text(&buffer, "State", device->state == device_stopped ? "STOPPED" :
|
||||
device->state == device_running ? "RUNNING" :
|
||||
device->state == device_paused ? "PAUSED" : "IDLE");
|
||||
show_text(&buffer, "Direction", pp->direction == COUNT_UP ? "UP" : "DOWN");
|
||||
show_int(&buffer, "Scan", pp->poll_period);
|
||||
show_int(&buffer, "Sample", pp->sample_period);
|
||||
@@ -362,7 +362,7 @@ void put_page(int n)
|
||||
show_time(&buffer, "Current Time", &device->current_time, false);
|
||||
{
|
||||
struct timeval tv = device->stop_time;
|
||||
if (device->state == counter_running || device->state == counter_paused)
|
||||
if (device->state == device_running || device->state == device_paused)
|
||||
{
|
||||
tv = device->current_time;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user