-
Notifications
You must be signed in to change notification settings - Fork 332
To support lightsleep for Heltec V3/v4 repeater to achieve 9mA power consumption #1107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a4d59d4
2d9077b
6988834
9e9b280
c16102b
d0c342f
1f9806c
b54028e
0e77f9e
56df774
3599a26
c33cd2b
d86f596
d8954fa
adae43b
745566e
e636996
f94412b
97d7eeb
822c249
20ab10f
acee014
b97fb20
dd18ae7
4bc4d5a
79be9ca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1115,3 +1115,8 @@ void MyMesh::loop() { | |
| uptime_millis += now - last_millis; | ||
| last_millis = now; | ||
| } | ||
|
|
||
| // To get the current pending outbound packets at Dispatcher | ||
| int MyMesh::hasPendingWork(uint32_t now) const { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove the
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @fschrempf We may just change the comment to become " To get the current pending works"
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You either have to remove the |
||
| return _mgr->getOutboundCount(0xFFFFFFFF); | ||
IoTThinks marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,6 +48,7 @@ build_flags = | |
| -D MAX_NEIGHBOURS=50 | ||
| ; -D MESH_PACKET_LOGGING=1 | ||
| ; -D MESH_DEBUG=1 | ||
| -D POWERSAVING_MODE=1 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't really like the fact that we are enabling this for specific boards only. I know this can be rolled out to other boards later, but it will likely be confusing for some users if some boards show a different behavior than others (for example CLI accessibility after the initial 2 minute period).
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, we will have power saving to all boards soon by default. All will have the same powersaving behaviors. |
||
| build_src_filter = ${Heltec_lora32_v3.build_src_filter} | ||
| +<helpers/ui/SSD1306Display.cpp> | ||
| +<../examples/simple_repeater> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.