Initialize to 0
This commit is contained in:
parent
414e2e149d
commit
e41faaa869
|
@ -22,6 +22,7 @@
|
|||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
#include <string.h>
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
|
@ -121,6 +122,7 @@ int main(void) {
|
|||
/* Infinite loop */
|
||||
/* USER CODE BEGIN WHILE */
|
||||
uint16_t temperatures[N_SENSORS];
|
||||
memset(temperatures, 0, sizeof(temperatures));
|
||||
while (1) {
|
||||
/* USER CODE END WHILE */
|
||||
|
||||
|
|
Loading…
Reference in New Issue