Skip to content

Commit f24a576

Browse files
committed
nano33ble: clean initVariant function
Remove commented code and Serial.println() Signed-off-by: pennam <[email protected]>
1 parent 1821cb9 commit f24a576

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

variants/arduino_nano_33_ble_nrf52840_sense/variant.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@ void initVariant(void) {
1212
GPIO_DT_SPEC_GET(DT_PATH(zephyr_user), pin_enable_gpios);
1313
if (gpio_is_ready_dt(&enable_sensors)) {
1414
gpio_flags_t flags = enable_sensors.dt_flags | GPIO_OUTPUT_HIGH | GPIO_ACTIVE_HIGH | NRF_GPIO_DRIVE_H0H1;
15-
Serial.println((uint32_t)flags, HEX);
16-
1715
gpio_pin_configure(enable_sensors.port, enable_sensors.pin, flags);
1816
gpio_pin_set(enable_sensors.port, enable_sensors.pin, HIGH);
19-
//Serial.println("### Sensor pin enabled ###");
20-
2117
delay(500);
2218
}
2319
}

0 commit comments

Comments
 (0)