| 179 | |
| 180 | template<uint32_t CommandId, uint32_t MaxResponseLength, uint32_t Param1, uint32_t Param2 = 0, uint32_t Param3 = 0, uint32_t Param4 = 0> |
| 181 | struct CommandWith4Params : public Command<CommandId, MaxResponseLength, MaxResponseLength, 4> |
| 182 | { |
| 183 | CommandWith4Params(uint32_t seq) : Command<CommandId, MaxResponseLength, MaxResponseLength, 4>(seq) |
| 184 | { |
| 185 | this->data_.parameters[0] = Param1; |
| 186 | this->data_.parameters[1] = Param2; |
| 187 | this->data_.parameters[2] = Param3; |
| 188 | this->data_.parameters[3] = Param4; |
| 189 | } |
| 190 | }; |
| 191 | |
| 192 | typedef CommandWith0Params<0x02, 0x200> ReadFirmwareVersionsCommand; |
| 193 |
nothing calls this directly
no outgoing calls
no test coverage detected