From 45363b10fe7e84c974ca19357715537183c3d265 Mon Sep 17 00:00:00 2001 From: Marcel Peterkau Date: Mon, 22 Aug 2022 14:53:56 +0200 Subject: [PATCH] missed ) on if-statement --- Software/src/webui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Software/src/webui.cpp b/Software/src/webui.cpp index 529b7cd..1c9b362 100644 --- a/Software/src/webui.cpp +++ b/Software/src/webui.cpp @@ -22,7 +22,7 @@ void initWebUI() GetFlashVersion(globals.FlashVersion, sizeof(globals.FlashVersion)); - if (!strcmp(globals.FlashVersion, QUOTE(FLASH_FS_VERSION)) + if (!strcmp(globals.FlashVersion, QUOTE(FLASH_FS_VERSION))) { MaintainDTC(DTC_FLASHFS_VERSION_ERROR, DTC_WARN, true); } @@ -343,7 +343,7 @@ void GetFlashVersion(char *buff, size_t buff_size) if (this_file.available()) { int bytes_read; - bytes_read = this_file.readBytesUntil('\r', buff, buff_size-1); + bytes_read = this_file.readBytesUntil('\r', buff, buff_size - 1); buff[bytes_read] = '\0'; } this_file.close();