Binary file pbmd has changed
--- a/pbmd.c Fri May 28 14:51:40 2010 +0100
+++ b/pbmd.c Thu Jun 03 10:43:40 2010 +0100
@@ -62,7 +62,7 @@
getBootflag ( bootFileName, bootflag );
setBootflag ( bootFileName, BOOTFLAG_MAN_RESTART );
- fputs("\nYYYY-M-MDD,HH:MM:SS,mVolts,mAmps,Lux\n", logFile);
+ fputs("\nYYYY-M-MDD,HH:MM:SS,mVolts,mAmps,State,Spike\n", logFile);
ret = test_interfacekit(progName, logFile, snapFileName, bootflag, boottime, sleepTime);// and off we go
--- a/stateManager.c Fri May 28 14:51:40 2010 +0100
+++ b/stateManager.c Thu Jun 03 10:43:40 2010 +0100
@@ -162,7 +162,7 @@
}
else
{
- snprintf( logEntry, 200, "%s %s %s %dV%s %dmA %s\n", timeStr, hostName, progName, Voltage, spikingStr, Amps, getStateDesc(state) );
+ snprintf( logEntry, 200, "%s %s %s %d %d %s %s\n", timeStr, hostName, progName, Voltage, Amps, getStateDesc(state), spikingStr );
fputs( logEntry, logfile );
fflush( logfile );
return 0;