Index: firmware/App/Controllers/BalancingChamber.c =================================================================== diff -u -r4b09605126f35b80406e95d079f3822c51a3ba25 -r1953056032ff6dd26042e5761453a7a499b09364 --- firmware/App/Controllers/BalancingChamber.c (.../BalancingChamber.c) (revision 4b09605126f35b80406e95d079f3822c51a3ba25) +++ firmware/App/Controllers/BalancingChamber.c (.../BalancingChamber.c) (revision 1953056032ff6dd26042e5761453a7a499b09364) @@ -38,8 +38,8 @@ // ********** private definitions ********** //Testing -#define BAL_CHAMBER_DATA_PUBLISH_INTERVAL ( 250 / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the balancing chamber data published. -//#define BAL_CHAMBER_DATA_PUBLISH_INTERVAL ( 50 / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the balancing chamber data published. +//#define BAL_CHAMBER_DATA_PUBLISH_INTERVAL ( 250 / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the balancing chamber data published. +#define BAL_CHAMBER_DATA_PUBLISH_INTERVAL ( 50 / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the balancing chamber data published. /// Payload record structure for balancing chamber switch only request typedef struct Index: firmware/App/Controllers/ConcentratePumps.c =================================================================== diff -u -rf2b23abd44f71103b3ef6b0a96f18cc82d263735 -r1953056032ff6dd26042e5761453a7a499b09364 --- firmware/App/Controllers/ConcentratePumps.c (.../ConcentratePumps.c) (revision f2b23abd44f71103b3ef6b0a96f18cc82d263735) +++ firmware/App/Controllers/ConcentratePumps.c (.../ConcentratePumps.c) (revision 1953056032ff6dd26042e5761453a7a499b09364) @@ -69,7 +69,9 @@ /// Volume output per pulse. #define CONCENTRATE_PUMP_VOLUME_PER_PULSE ( CONCENTRATE_PUMP_VOLUME_PER_REV / CONCENTRATE_PUMP_PULSE_PER_REV ) -#define CONCENTRATE_PUMP_DATA_PUBLISH_INTERVAL ( 1000 / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the concentrate pump is monitored. +//Testing +#define CONCENTRATE_PUMP_DATA_PUBLISH_INTERVAL ( 50 / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the concentrate pump is monitored. +//#define CONCENTRATE_PUMP_DATA_PUBLISH_INTERVAL ( 1000 / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the concentrate pump is monitored. #define CONCENTRATE_PUMP_CONTROL_INTERVAL ( 100 / TASK_GENERAL_INTERVAL ) ///< Interval (ms/task time) at which the concentrate pump is controlled. #define CONCENTRATE_PUMP_SPEED_OUT_OF_RANGE_TIMEOUT_MS ( 10 * MS_PER_SECOND ) ///< Concentrate pumps speed out of range timeout in milliseconds. Index: firmware/App/Controllers/Valves.c =================================================================== diff -u -r4b09605126f35b80406e95d079f3822c51a3ba25 -r1953056032ff6dd26042e5761453a7a499b09364 --- firmware/App/Controllers/Valves.c (.../Valves.c) (revision 4b09605126f35b80406e95d079f3822c51a3ba25) +++ firmware/App/Controllers/Valves.c (.../Valves.c) (revision 1953056032ff6dd26042e5761453a7a499b09364) @@ -37,8 +37,8 @@ #define MAX_VALVE_STATE_MISMATCH_TIMER_COUNT (100 / TASK_PRIORITY_INTERVAL ) ///< Maximum time commanded valves state can fail to match read back valve states in a row. //Testing -#define VALVES_STATE_PUB_INTERVAL ( MS_PER_SECOND / TASK_PRIORITY_INTERVAL ) ///< Interval ( ms / task time) at which valves states are published on CAN bus. -//#define VALVES_STATE_PUB_INTERVAL ( 50 / TASK_PRIORITY_INTERVAL ) ///< Interval ( ms / task time) at which valves states are published on CAN bus. +//#define VALVES_STATE_PUB_INTERVAL ( MS_PER_SECOND / TASK_PRIORITY_INTERVAL ) ///< Interval ( ms / task time) at which valves states are published on CAN bus. +#define VALVES_STATE_PUB_INTERVAL ( 50 / TASK_PRIORITY_INTERVAL ) ///< Interval ( ms / task time) at which valves states are published on CAN bus. #define DATA_PUBLISH_COUNTER_START_COUNT 50 ///< Data publish counter start count. /// Payload record structure for valve open/close request Index: firmware/App/Monitors/Pressure.c =================================================================== diff -u -r4b09605126f35b80406e95d079f3822c51a3ba25 -r1953056032ff6dd26042e5761453a7a499b09364 --- firmware/App/Monitors/Pressure.c (.../Pressure.c) (revision 4b09605126f35b80406e95d079f3822c51a3ba25) +++ firmware/App/Monitors/Pressure.c (.../Pressure.c) (revision 1953056032ff6dd26042e5761453a7a499b09364) @@ -29,8 +29,8 @@ // ********** private definitions ********** //TODO : Increasing the publish interval -#define PRESSURES_DATA_PUB_INTERVAL ( MS_PER_SECOND / TASK_PRIORITY_INTERVAL ) ///< Interval (ms/task time) at which the pressures data is published on the CAN bus. -//#define PRESSURES_DATA_PUB_INTERVAL ( 50 / TASK_PRIORITY_INTERVAL ) ///< Interval (ms/task time) at which the pressures data is published on the CAN bus. +//#define PRESSURES_DATA_PUB_INTERVAL ( MS_PER_SECOND / TASK_PRIORITY_INTERVAL ) ///< Interval (ms/task time) at which the pressures data is published on the CAN bus. +#define PRESSURES_DATA_PUB_INTERVAL ( 50 / TASK_PRIORITY_INTERVAL ) ///< Interval (ms/task time) at which the pressures data is published on the CAN bus. #define DATA_PUBLISH_COUNTER_START_COUNT ( 5 ) ///< Data publish counter start count. #define PRESSURE_SAMPLE_FILTER_MS ( 50 ) ///< Filter pressure data for given time #define PRESSURE_TEMP_SAMPLE_FILTER_MS ( 50 )