Simplification for internal module types allowed

This commit is contained in:
Bertrand Songis
2019-08-12 17:47:21 +02:00
parent 3bd9e3a2f7
commit 842f1c6ed9
4 changed files with 24 additions and 15 deletions
+3 -1
View File
@@ -907,7 +907,9 @@
#if !defined(RADIO_T12)
#define HARDWARE_INTERNAL_MODULE
#endif
#if !defined(PCBXLITES) && !defined(PCBX9LITE) && !(defined(PCBX9DP) && PCBREV >= 2019)
#if defined(PCBXLITES) || defined(PCBX9LITE) || (defined(PCBX9DP) && PCBREV >= 2019)
#define INTERNAL_MODULE_PXX2
#else
#define INTERNAL_MODULE_PXX1
#endif
#define INTMODULE_FLASH_BAUDRATE 57600