Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -r4f026c2e983dcb657a5c980f3572c812b9782ae6 -rfb740bb5c94f0db56c83657f00b6409ce5ecad2d --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 4f026c2e983dcb657a5c980f3572c812b9782ae6) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision fb740bb5c94f0db56c83657f00b6409ce5ecad2d) @@ -135,6 +135,7 @@ for ( j = 0; j < SIZE_OF_LARGE_LOAD_CELL_AVG; j++ ) { lgLoadCellReadings[ i ][ j ] = 0.0; + lgLoadCellBackupReadings[ i ][ j ] = 0.0; } } Index: firmware/App/Modes/Dialysis.c =================================================================== diff -u -r4f026c2e983dcb657a5c980f3572c812b9782ae6 -rfb740bb5c94f0db56c83657f00b6409ce5ecad2d --- firmware/App/Modes/Dialysis.c (.../Dialysis.c) (revision 4f026c2e983dcb657a5c980f3572c812b9782ae6) +++ firmware/App/Modes/Dialysis.c (.../Dialysis.c) (revision fb740bb5c94f0db56c83657f00b6409ce5ecad2d) @@ -1317,8 +1317,8 @@ // TODO remove this debug output // Send a comma delimited debug message with drift data - U08 tempCharBuffer[ 64 ]; - sprintf( tempCharBuffer, "LoadCellOldDrift,%3.3f,LoadCellNewDrift,%3.3f,Diff,%3.3f", loadCellPreviousDrift, loadCellCurrentDrift, driftDiff ); + U08 tempCharBuffer[ 128 ]; + sprintf( tempCharBuffer, "Rsvr,%d,LcOldDrift,%3.3f,LcNewDrift,%3.3f,Diff,%3.3f,Pri,%3.3f,Bak,%3.3f", reservoirID, loadCellPreviousDrift, loadCellCurrentDrift, driftDiff, loadCellPrimaryWeight, loadCellBackupWeight ); broadcastData( MSG_ID_HD_DEBUG_EVENT, COMM_BUFFER_OUT_CAN_HD_BROADCAST, tempCharBuffer, strlen( tempCharBuffer ) ); }