mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
fix nano g2 notification
revert change to disable buzzer before hibernate needs more work as the buzzer pin is a macro and can't be changed at runtime
This commit is contained in:
parent
95d1f052c2
commit
e42ecc3bb3
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue