Skip to content

Commit

Permalink
Remove sim copy of MusicService.h and use InfiniTime version
Browse files Browse the repository at this point in the history
Needs fix for missing includes PR from InfiniTime:
InfiniTimeOrg/InfiniTime#2130
  • Loading branch information
NeroBurner committed Sep 28, 2024
1 parent 4fb12d1 commit fe4f5c6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 291 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ target_sources(infinisim PUBLIC
sim/displayapp/LittleVgl.cpp
sim/components/battery/BatteryController.h
sim/components/battery/BatteryController.cpp
sim/components/ble/MusicService.h
sim/components/ble/MusicService.cpp
sim/components/ble/NimbleController.h
sim/components/ble/NimbleController.cpp
sim/components/brightness/BrightnessController.h
Expand Down Expand Up @@ -199,6 +197,8 @@ target_sources(infinisim PUBLIC
${InfiniTime_DIR}/src/components/ble/AlertNotificationService.cpp
${InfiniTime_DIR}/src/components/ble/MotionService.h
${InfiniTime_DIR}/src/components/ble/MotionService.cpp
${InfiniTime_DIR}/src/components/ble/MusicService.h
${InfiniTime_DIR}/src/components/ble/MusicService.cpp
${InfiniTime_DIR}/src/components/ble/NavigationService.h
${InfiniTime_DIR}/src/components/ble/NavigationService.cpp
${InfiniTime_DIR}/src/components/ble/NotificationManager.h
Expand Down
198 changes: 0 additions & 198 deletions sim/components/ble/MusicService.cpp

This file was deleted.

89 changes: 0 additions & 89 deletions sim/components/ble/MusicService.h

This file was deleted.

2 changes: 1 addition & 1 deletion sim/components/ble/NimbleController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ NimbleController::NimbleController(Pinetime::System::SystemTask& systemTask,
anService {systemTask, notificationManager},
// alertNotificationClient {systemTask, notificationManager},
// currentTimeService {dateTimeController},
musicService {systemTask},
musicService {*this},
weatherService {dateTimeController},
// batteryInformationService {batteryController},
// immediateAlertService {systemTask, notificationManager},
Expand Down

0 comments on commit fe4f5c6

Please sign in to comment.