We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c2a822 commit cb6cf08Copy full SHA for cb6cf08
lib/devrelay/types/Request.cpp
@@ -28,8 +28,8 @@ uint8_t Request::get_device_id() const { return device_id_; }
28
void Request::init_command(uint8_t* cmd_data) const {
29
std::fill(cmd_data, cmd_data + 9, 0);
30
cmd_data[0] = get_command_number();
31
- cmd_data[1] = get_param_count();
32
- cmd_data[2] = get_device_id();
+ cmd_data[1] = get_param_count();
+ cmd_data[2] = get_device_id();
33
}
34
35
std::unique_ptr<Request> Request::from_packet(const std::vector<uint8_t>& packet) {
0 commit comments