From 93ac421d2fc1abfaa622edbe6a47d5e899341af6 Mon Sep 17 00:00:00 2001 From: Paul Date: Fri, 26 Jul 2019 15:19:29 +0200 Subject: [PATCH] added clang-format around code sections to prevent defines getting screwed with autoformat --- src/ems.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ems.h b/src/ems.h index 0d9be5b30..800577200 100644 --- a/src/ems.h +++ b/src/ems.h @@ -17,6 +17,7 @@ * ° for Rx, we use GPIO14 * ° for Tx, we use GPIO12 */ +// clang-format off #ifdef LOGICANALYZER #define RX_MARK_PIN 14 #define TX_MARK_PIN 12 @@ -67,6 +68,7 @@ #define GPIO_H(mask) #define GPIO_L(mask) #endif +// clang-format on #define EMS_ID_NONE 0x00 // used as a dest in broadcast messages and empty device IDs @@ -83,7 +85,6 @@ #define EMS_PRODUCTID_SM100 163 // ProductID for SM10 solar module #define EMS_PRODUCTID_ISM1 101 // ProductID for SM10 solar module - #define EMS_MIN_TELEGRAM_LENGTH 6 // minimal length for a validation telegram, including CRC // max length of a telegram, including CRC, for Rx and Tx.