Index: firmware/App/Controllers/Bubble.c =================================================================== diff -u -r21d6ea2bfe82aece70423e04d21ad3ef3858f4f6 -rcd5be724d5a3ba7457e761191d82f278654d7f5c --- firmware/App/Controllers/Bubble.c (.../Bubble.c) (revision 21d6ea2bfe82aece70423e04d21ad3ef3858f4f6) +++ firmware/App/Controllers/Bubble.c (.../Bubble.c) (revision cd5be724d5a3ba7457e761191d82f278654d7f5c) @@ -1,14 +1,14 @@ /************************************************************************** * -* Copyright (c) 2021-2023 Diality Inc. - All Rights Reserved. +* Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file Bubble.c * -* @author (last) Sean Nash -* @date (last) 04-May-2023 +* @author (last) Dara Navaei +* @date (last) 22-Jun-2023 * * @author (original) Peman Montazemi * @date (original) 06-May-2021 @@ -55,7 +55,7 @@ /// Interval (in ms) at which to publish air bubble detectors data on CAN bus. static OVERRIDE_U32_T bubblesDataPublishInterval = { BUBBLE_PUB_INTERVAL, BUBBLE_PUB_INTERVAL, 0, 0 }; -static U32 bubblesDataPublicationTimerCounter = 0; ///< Timer counter used to schedule air bubble detectors data publication to CAN bus. +static U32 bubblesDataPublicationTimerCounter; ///< Timer counter used to schedule air bubble detectors data publication to CAN bus. // ********** private function prototypes ********** @@ -75,7 +75,7 @@ { BUBBLES_T bubble; - for (bubble = ADV; bubble < NUM_OF_BUBBLES; bubble++) + for ( bubble = ADV; bubble < NUM_OF_BUBBLES; bubble++ ) { bubblesState[ bubble ] = BUBBLE_NORMAL_STATE; bubblesStatus[ bubble ].data = BUBBLE_NOT_DETECTED;