Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita612970

Browse files
authored
Merge pull request#182 from pennam/33ble-clean
nano33ble: clean initVariant function
2 parents904e7e9 +f24a576 commita612970

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)

[8]ページ先頭

©2009-2025 Movatter.jp