Skip to content

Conversation

@NeroBurner
Copy link
Contributor

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.

…ency

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.
@JF002 JF002 added this to the 1.9.0 milestone Feb 19, 2022
@JF002 JF002 merged commit b857fdb into InfiniTimeOrg:develop Feb 19, 2022
@NeroBurner NeroBurner deleted the SystemTask_and_BatteryController branch February 19, 2022 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants