Added some common micro-controller sections. Also added a define for number of retries for functions.

This commit is contained in:
jakeg00dwin 2024-09-27 16:21:36 -07:00
parent 076cc73941
commit ac4666a633
1 changed files with 13 additions and 1 deletions

View File

@ -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