mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
Rename bootComplete() to onBootComplete() for naming consistency
Matches the existing event-style lifecycle hooks on MainBoard (onBeforeTransmit, onAfterTransmit) per @liamcottle's review feedback.
This commit is contained in:
@@ -239,7 +239,7 @@ void setup() {
|
|||||||
ui_task.begin(disp, &sensors, the_mesh.getNodePrefs()); // still want to pass this in as dependency, as prefs might be moved
|
ui_task.begin(disp, &sensors, the_mesh.getNodePrefs()); // still want to pass this in as dependency, as prefs might be moved
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
board.bootComplete();
|
board.onBootComplete();
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ void setup() {
|
|||||||
modem->setGetStatsCallback(onGetStats);
|
modem->setGetStatsCallback(onGetStats);
|
||||||
modem->begin();
|
modem->begin();
|
||||||
|
|
||||||
board.bootComplete();
|
board.onBootComplete();
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ void setup() {
|
|||||||
the_mesh.sendSelfAdvertisement(16000, false);
|
the_mesh.sendSelfAdvertisement(16000, false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
board.bootComplete();
|
board.onBootComplete();
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ void setup() {
|
|||||||
the_mesh.sendSelfAdvertisement(16000, false);
|
the_mesh.sendSelfAdvertisement(16000, false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
board.bootComplete();
|
board.onBootComplete();
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ public:
|
|||||||
// Called by example setup() functions to signal that boot is complete.
|
// Called by example setup() functions to signal that boot is complete.
|
||||||
// Boards may override to stop a boot-indicator LED sequence or similar.
|
// Boards may override to stop a boot-indicator LED sequence or similar.
|
||||||
// Default no-op: boards that don't care need not implement anything.
|
// Default no-op: boards that don't care need not implement anything.
|
||||||
virtual void bootComplete() { /* no op */ }
|
virtual void onBootComplete() { /* no op */ }
|
||||||
virtual void sleep(uint32_t secs) { /* no op */ }
|
virtual void sleep(uint32_t secs) { /* no op */ }
|
||||||
virtual uint32_t getGpio() { return 0; }
|
virtual uint32_t getGpio() { return 0; }
|
||||||
virtual void setGpio(uint32_t values) {}
|
virtual void setGpio(uint32_t values) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user