- Timestamp:
- 01/31/10 13:37:46 (15 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
webserver/example/EnergyMeters/EnergyMeters/ARM7_LPC2368_Rowley/webserver/httpd-cgi.c
r19 r38 208 208 static char cCountBuf[ 32 ]; 209 209 long lRefreshCount = 0; 210 extern basementGasReading;211 extern rtcHOURS;212 extern rtcMINUTES;213 extern rtcSECONDS;214 210 static unsigned short 215 211 generate_rtos_stats(void *arg) 216 212 { 217 lRefreshCount++; 218 219 sprintf( cCountBuf, "<p><br>Refresh count = %d<p><br>Pulse Counter = %d at %02u:%02u:%02u", lRefreshCount, basementGasReading, rtcHOURS, rtcMINUTES, rtcSECONDS ); 220 strcat( uip_appdata, cCountBuf ); 221 vTaskList( uip_appdata ); 222 strcat( uip_appdata, cCountBuf ); 223 224 return strlen( uip_appdata ); 213 lRefreshCount++; 214 sprintf( cCountBuf, "<p><br>Refresh count = %d", lRefreshCount ); 215 vTaskList( uip_appdata ); 216 strcat( uip_appdata, cCountBuf ); 217 218 return strlen( uip_appdata ); 225 219 } 226 220 /*---------------------------------------------------------------------------*/