Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Components/Communication/RadioProtoTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,19 @@ void RadioProtocolTask::HandleProtobufCommandMessage(EmbeddedProto::ReadBufferFi
ActualLoggingTask::Inst().SendCommand({TASK_SPECIFIC_COMMAND,CLEAR_FLASH});
break;
}

// case [proto frequency command]: {
// RPB_IRCTRAMP_SET_COMMAND cmd;
// cmd.setFreq = true;
// cmd.setPower = false;
// cmd.frequency = [from proto, is an enum]
//
// SOAR_PRINT("irc cmd\n");
// CANTask::Inst().SendCANMessageToDaughter(CAN_ROCKET_TARGET_RPB, _RPB_IRCTRAMP_SET_COMMAND_LOGINDEX, (uint8_t*)&cmd);
// break;
// }

// repeat above for power
default:
break;
}
Expand Down
2 changes: 1 addition & 1 deletion SoarCommunications