bug #376: disable the "wake on serial" feature, because it causes

bogus wakes on TBEAMS because the USB->SERIAL chip pulls the RX input
to ground.  This feature is no longer needed because in !isRouter
nodes we force the node to never sleep anyways when on USB power.

    // this doesn't work on TBEAMs when the USB is depowered (causes bogus interrupts)
    // So we disable this "wake on serial" feature - because now when a TBEAM (only) has power connected it
    // never tries to go to sleep if the user is using the API
    // gpio_wakeup_enable((gpio_num_t)SERIAL0_RX_GPIO, GPIO_INTR_LOW_LEVEL);
This commit is contained in:
Kevin Hester
2020-10-06 14:24:08 +08:00
parent 7854a22fbf
commit 4ccd03623f
2 changed files with 13 additions and 7 deletions

View File

@@ -8,8 +8,6 @@ time only mode
record power measurements and update spreadsheet
fix uart wake from sleep
fix has_gps based on new logic
don't send locations if the user has forbidden that (lie to phone so phone won't either)