star tracker switch

This commit is contained in:
Jakob Meier
2022-03-29 07:58:22 +02:00
parent 6b543dc7bb
commit 25c3f39c82
3 changed files with 12 additions and 1 deletions

View File

@ -1223,6 +1223,13 @@ ReturnValue_t StarTrackerHandler::doSendReadHook() {
return RETURN_OK;
}
ReturnValue_t StarTrackerHandler::getSwitches(const uint8_t** switches,
uint8_t* numberOfSwitches) {
*numberOfSwitches = 1;
*switches = &powerSwitch;
return RETURN_OK;
}
ReturnValue_t StarTrackerHandler::checkMode(ActionId_t actionId) {
switch (actionId) {
case startracker::UPLOAD_IMAGE: