Skip to content

Commit d929d32

Browse files
authored
Merge pull request #768 from 446564/fix/nano-g2-notification
fix nano g2 notification
2 parents 95d1f05 + e42ecc3 commit d929d32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

variants/nano_g2_ultra/nano-g2.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ class NanoG2Ultra : public mesh::MainBoard {
5252
void powerOff() override {
5353
// put GPS chip to sleep
5454
digitalWrite(PIN_GPS_STANDBY, LOW);
55-
// unset buzzer to prevent notification circuit activating on hibernate
56-
#undef PIN_BUZZER
55+
// TODO: unset buzzer to prevent notification circuit activating on hibernate
56+
// needs to be set as silent or somehow stop using macros for pins
5757

5858
nrf_gpio_cfg_sense_input(digitalPinToInterrupt(PIN_USER_BTN), NRF_GPIO_PIN_NOPULL,
5959
NRF_GPIO_PIN_SENSE_LOW);

0 commit comments

Comments
 (0)