Initialize to 0

This commit is contained in:
Jasper Blanckenburg 2024-02-06 18:55:31 +01:00
parent 414e2e149d
commit e41faaa869
1 changed files with 2 additions and 0 deletions

View File

@ -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 */