From ce9f1a23067c0fd3b1f134b267dcd7a03d3a95ce Mon Sep 17 00:00:00 2001 From: Marcel Peterkau Date: Mon, 25 Sep 2023 07:19:17 +0200 Subject: [PATCH] fix of type --- Software/include/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/include/config.h b/Software/include/config.h index a349ca3..22ee56b 100644 --- a/Software/include/config.h +++ b/Software/include/config.h @@ -64,7 +64,7 @@ typedef enum CANSource_e const char CANSourceString[][28] = { "KTM 890 Adventure R (2021)"}; -const char CANSourceString_Elements = sizeof(CANSourceString) / sizeof(CANSourceString[0]); +const size_t CANSourceString_Elements = sizeof(CANSourceString) / sizeof(CANSourceString[0]); #endif const size_t SpeedSourceString_Elements = sizeof(SpeedSourceString) / sizeof(SpeedSourceString[0]);