summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorReinhold Gschweicher <pyro4hell@gmail.com>2022-02-15 22:59:38 (GMT)
committerJF <JF002@users.noreply.github.com>2022-02-19 12:17:00 (GMT)
commitb857fdb9f438cd9a3440c82face944323301cfad (patch)
treebcf74e8b14c352f25f6caa7d17825dc4a446da8d /src/main.cpp
parent4aaa3a3b49b3b70509345f83ebe1c4f4bacd524d (diff)
SystemTask: forward declare BatteryController to fix of cyclic dependency
SystemTask.h included BatteryController.h, and BatteryController.h included SystemTask.h. If unlucky the class SystemTask isn't created yet when BatteryController wants to use it. Fix that cyclic dependency by forward declaring the BatteryController class and including it in the SystemTask.cpp file, where it is needed.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions