Browse Source
Merge pull request #768 from 446564/fix/nano-g2-notification
fix nano g2 notification
pull/776/head
ripplebiz
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
variants/nano_g2_ultra/nano-g2.h
|
|
|
@ -52,8 +52,8 @@ public: |
|
|
|
void powerOff() override { |
|
|
|
// put GPS chip to sleep
|
|
|
|
digitalWrite(PIN_GPS_STANDBY, LOW); |
|
|
|
// unset buzzer to prevent notification circuit activating on hibernate
|
|
|
|
#undef PIN_BUZZER |
|
|
|
// TODO: unset buzzer to prevent notification circuit activating on hibernate
|
|
|
|
// needs to be set as silent or somehow stop using macros for pins
|
|
|
|
|
|
|
|
nrf_gpio_cfg_sense_input(digitalPinToInterrupt(PIN_USER_BTN), NRF_GPIO_PIN_NOPULL, |
|
|
|
NRF_GPIO_PIN_SENSE_LOW); |
|
|
|
|