Changeset 38 for webserver

Show
Ignore:
Timestamp:
01/31/10 13:37:46 (15 years ago)
Author:
phil
Message:

reverted httpd-cgi.c to unmodified state

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • webserver/example/EnergyMeters/EnergyMeters/ARM7_LPC2368_Rowley/webserver/httpd-cgi.c

    r19 r38  
    208208static char cCountBuf[ 32 ]; 
    209209long lRefreshCount = 0; 
    210 extern basementGasReading; 
    211 extern rtcHOURS; 
    212 extern rtcMINUTES; 
    213 extern rtcSECONDS; 
    214210static unsigned short 
    215211generate_rtos_stats(void *arg) 
    216212{ 
    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 ); 
    225219} 
    226220/*---------------------------------------------------------------------------*/