Refactor Heater class #615
Labels
No Label
API Change
Breaking API Change
bug
build
cosmetics
Documentation
duplicate
feature
help wanted
hotfix
invalid
question
Refactor
Tests
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fsfw/fsfw#615
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The heater class is not generic enough to be re-used properly. This is probably because it was programmed specifically for FLP. There are some important points to make this class usable for EIVE specifically:
Heater
class in my opinionGPIO pins as well
It would be good to define a generic HeaterBase class which provides adaptions points like
checkHeaterState(... targetState)
,setHeater(... targetState)
which allow to write custom code being able to handle any combination of GPIO pins or power switches.