From ac4666a633a608c53af905bb1c87b9a9ee42e177 Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Fri, 27 Sep 2024 16:21:36 -0700 Subject: [PATCH] Added some common micro-controller sections. Also added a define for number of retries for functions. --- inc/board_config.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/inc/board_config.h b/inc/board_config.h index e0aabd6..2bc172a 100644 --- a/inc/board_config.h +++ b/inc/board_config.h @@ -1,9 +1,14 @@ #ifndef BOARD_CONFIG_H #define BOARD_CONFIG_H + +#define RETRIES 3 + //Un-comment a line below for the target board/uC. #define FEATHER_RFM95 //#define FEATHER_RFM96 +//#define UNO +//#define MEAGA2560 //Only applied if defined #ifdef FEATHER_RFM95 @@ -35,7 +40,14 @@ #define RF9X_MIN_DB 5 #define RF9X_TIMEOUT 250 #define RF9X_BUF_SZ 32 - #endif //FEATHER_RFM9X + #endif //FEATHER_RFM95 + + #ifdef UNO + + #endif //UNO + + #ifdef MEGA2560 + #endif //MEGA2560 #endif //BOARD_CONFIG_H