Index: firmware/App/Monitors/Temperature.c =================================================================== diff -u -re163e9faf44d2eb475188b8ea4d6a3befb6e753f -re6fef0f312d07e308c88caafef7e952689328248 --- firmware/App/Monitors/Temperature.c (.../Temperature.c) (revision e163e9faf44d2eb475188b8ea4d6a3befb6e753f) +++ firmware/App/Monitors/Temperature.c (.../Temperature.c) (revision e6fef0f312d07e308c88caafef7e952689328248) @@ -95,7 +95,7 @@ static F32 d4TempSamplesC[ D4_TEMP_MOVING_AVG_NUM_OF_SAMPLES ]; ///< D4 temperature samples array in C. static U32 d4TempSamplesNextIndex; ///< D4 temperature sample next index number. static U32 d4TempCount; ///< D4 Number of samples in average buffer. -static U32 tempDataColTimeInterval; ///< Temperature data collection time interval in milliseconds. +static U32 tempDataCollectionTimeInterval; ///< Temperature data collection time interval in milliseconds. static U32 d4TempSampleIntervalCounter; ///< D4 temperature sensor sample collection timer counter. static U32 d50TempSampleIntervalCounter; ///< D50 temperature sensor sample collection timer counter. @@ -154,7 +154,7 @@ d4TempSampleIntervalCounter = 0; d50TempSampleIntervalCounter = 0; d99TempSampleIntervalCounter = 0; - tempDataColTimeInterval = 0; + tempDataCollectionTimeInterval = 0; tempDriftEventCheck = FALSE; dialTempMovingAvgData[ DIAL_TEMP_D28 ].dialTempColHasTimerBeenSet = FALSE; @@ -311,7 +311,7 @@ static void filterTemperatureReadings( void ) { // Moving average sample collection interval varies based on the dialysate flow rate - if ( ++d4TempSampleIntervalCounter >= tempDataColTimeInterval ) + if ( ++d4TempSampleIntervalCounter >= tempDataCollectionTimeInterval ) { // Filter D4 Temperature for AC heater if ( d4TempCount >= D4_TEMP_MOVING_AVG_NUM_OF_SAMPLES ) @@ -329,7 +329,7 @@ } // Moving average sample collection interval varies based on the dialysate flow rate - if ( ++d50TempSampleIntervalCounter >= tempDataColTimeInterval ) + if ( ++d50TempSampleIntervalCounter >= tempDataCollectionTimeInterval ) { if ( d50TempCount >= D50_TEMP_MOVING_AVG_NUM_OF_SAMPLES ) { @@ -347,7 +347,7 @@ // Moving average sample collection interval varies based on the dialysate flow rate - if ( ++d99TempSampleIntervalCounter >= tempDataColTimeInterval ) + if ( ++d99TempSampleIntervalCounter >= tempDataCollectionTimeInterval ) { // Filter D99 Temperature for fresh dialysate temperature @@ -498,7 +498,7 @@ U32 sampleInterval = (U32)( ( period / (F32)D4_TEMP_MOVING_AVG_NUM_OF_SAMPLES ) * MS_PER_SECOND ); - tempDataColTimeInterval = (U32) ( sampleInterval / TASK_PRIORITY_INTERVAL ); + tempDataCollectionTimeInterval = (U32) ( sampleInterval / TASK_PRIORITY_INTERVAL ); } /*********************************************************************//**