Set default OCP

master
Mark Qvist 3 months ago
parent aba9a317dd
commit d599109562
  1. 10
      Boards.h

@ -145,10 +145,6 @@
#define HAS_TCXO true #define HAS_TCXO true
#endif #endif
// Default OCP value if not specified
// in board configuration
#define OCP_TUNED 0x38
#if MCU_VARIANT == MCU_1284P #if MCU_VARIANT == MCU_1284P
const int pin_cs = 4; const int pin_cs = 4;
const int pin_reset = 3; const int pin_reset = 3;
@ -632,4 +628,10 @@
#define DIO2_AS_RF_SWITCH false #define DIO2_AS_RF_SWITCH false
#endif #endif
// Default OCP value if not specified
// in board configuration
#ifndef OCP_TUNED
#define OCP_TUNED 0x38
#endif
#endif #endif

Loading…
Cancel
Save