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:
AtlavoxDev
2026-05-25 09:50:28 -04:00
parent 39a69b86c3
commit e5dab6b999
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
#endif
board.bootComplete();
board.onBootComplete();
}
void loop() {
+1 -1
View File
@@ -120,7 +120,7 @@ void setup() {
modem->setGetStatsCallback(onGetStats);
modem->begin();
board.bootComplete();
board.onBootComplete();
}
void loop() {
+1 -1
View File
@@ -104,7 +104,7 @@ void setup() {
the_mesh.sendSelfAdvertisement(16000, false);
#endif
board.bootComplete();
board.onBootComplete();
}
void loop() {
+1 -1
View File
@@ -81,7 +81,7 @@ void setup() {
the_mesh.sendSelfAdvertisement(16000, false);
#endif
board.bootComplete();
board.onBootComplete();
}
void loop() {
+1 -1
View File
@@ -55,7 +55,7 @@ public:
// Called by example setup() functions to signal that boot is complete.
// Boards may override to stop a boot-indicator LED sequence or similar.
// 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 uint32_t getGpio() { return 0; }
virtual void setGpio(uint32_t values) {}