Skip to content

Commit

Permalink
Merge pull request #156 from InfiniTimeOrg/remove_MusicService
Browse files Browse the repository at this point in the history
Remove sim copy of MusicService.h and use InfiniTime version
  • Loading branch information
NeroBurner authored Jan 12, 2025
2 parents eedcaf4 + b586806 commit 7595686
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 290 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 7595686

Please sign in to comment.