File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2525
2626#include " BLELocalDevice.h"
2727
28- #if defined(ARDUINO_PORTENTA_H7_M4 ) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_OPTA)
28+ #if defined(PORTENTA_H7_PINS ) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_OPTA)
2929#ifndef BT_REG_ON
3030#define BT_REG_ON PJ_12
3131#endif
@@ -69,7 +69,7 @@ int BLELocalDevice::begin()
6969 delay (100 );
7070 digitalWrite (NINA_RESETN, HIGH);
7171 delay (750 );
72- #elif defined(ARDUINO_PORTENTA_H7_M4 ) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) || defined(ARDUINO_GIGA) || defined(ARDUINO_OPTA)
72+ #elif defined(PORTENTA_H7_PINS ) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) || defined(ARDUINO_GIGA) || defined(ARDUINO_OPTA)
7373 // BT_REG_ON -> HIGH
7474 pinMode (BT_REG_ON, OUTPUT);
7575 digitalWrite (BT_REG_ON, LOW);
You can’t perform that action at this time.
0 commit comments