diff Common/Inc/data_exchange.h @ 51:8f8ea3a32e82

Resolved warnings pointing to possible invalid memory access
author Ideenmodellierer
date Tue, 31 Jul 2018 22:28:21 +0200
parents 5f11787b4f42
children 573a2bc796c8
line wrap: on
line diff
--- a/Common/Inc/data_exchange.h	Mon Jul 30 11:37:39 2018 +0200
+++ b/Common/Inc/data_exchange.h	Tue Jul 31 22:28:21 2018 +0200
@@ -140,7 +140,7 @@
 		// wireless data
 		SDataWireless wireless_data[4];
 		// PIC data
-		uint8_t button_setting[3];
+		uint8_t button_setting[4]; /* see dependency to SLiveData->buttonPICdata */
 		uint8_t SPARE1;
 		//debug
 		uint32_t pressure_uTick;