File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 25
25
26
26
#include " BLELocalDevice.h"
27
27
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)
29
29
#ifndef BT_REG_ON
30
30
#define BT_REG_ON PJ_12
31
31
#endif
@@ -69,7 +69,7 @@ int BLELocalDevice::begin()
69
69
delay (100 );
70
70
digitalWrite (NINA_RESETN, HIGH);
71
71
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)
73
73
// BT_REG_ON -> HIGH
74
74
pinMode (BT_REG_ON, OUTPUT);
75
75
digitalWrite (BT_REG_ON, LOW);
You can’t perform that action at this time.
0 commit comments