Skip to content

Commit

Permalink
Merge pull request #199 from and3rson/build_flags/optional_ble
Browse files Browse the repository at this point in the history
added LILKA_BLE build_flag
  • Loading branch information
frostmorn authored Jan 26, 2025
2 parents 778f0d8 + c67e910 commit 2401826
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firmware/keira/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ void setup() {
serviceManager->addService(new ScreenshotService());
serviceManager->addService(new TelnetService());
serviceManager->addService(new FTPService());
#ifdef LILKA_BLE
serviceManager->addService(new KeiraBLEService());
#endif
appManager->setPanel(new StatusBarApp());
appManager->runApp(new LauncherApp());
}
Expand Down
2 changes: 2 additions & 0 deletions sdk/lib/lilka/src/lilka.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ void begin() {
display.begin(); // Must be initialized AFTER SD card
controller.begin(); // Must be initialized AFTER SD card (since SD card somehow messes with GPIO)
battery.begin();
#ifdef LILKA_BLE
BLE_server.begin();
#endif
// TODO: I2S
// TODO: Delete Task Watchdog Timer - we'll be running long tasks
// TODO: Maybe keep it?
Expand Down

0 comments on commit 2401826

Please sign in to comment.