From 0e0ae3c4d16bbcf5134e9f194443203f6c61a0f3 Mon Sep 17 00:00:00 2001 From: 3djc Date: Tue, 19 Dec 2017 18:30:23 +0100 Subject: [PATCH] 1 too short (#5542) * 1 too short * Let the compiler do it's magic --- radio/src/stamp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/stamp.cpp b/radio/src/stamp.cpp index e26e83e39..e826bde9c 100644 --- a/radio/src/stamp.cpp +++ b/radio/src/stamp.cpp @@ -51,8 +51,8 @@ */ #if defined(STM32) -__attribute__ ((section(".fwversiondata"), used)) const char firmware_version[32] = "opentx-" FLAVOUR "-" VERSION " (" GIT_STR ")"; -__attribute__ ((section(".bootversiondata"), used)) const char boot_version[32] = "opentx-" FLAVOUR "-" VERSION " (" GIT_STR ")"; +__attribute__ ((section(".fwversiondata"), used)) const char firmware_version[] = "opentx-" FLAVOUR "-" VERSION " (" GIT_STR ")"; +__attribute__ ((section(".bootversiondata"), used)) const char boot_version[] = "opentx-" FLAVOUR "-" VERSION " (" GIT_STR ")"; /** * Tries to find opentx version in the first 1024 byte of either firmware/bootloader (the one not running) or the buffer