Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Jan 31, 2025
1 parent c31027a commit 9a3bc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/jk_balancer_modbus/jk_balancer_modbus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void JkBalancerModbus::send(uint8_t function, uint8_t address, uint8_t value) {
}

void JkBalancerModbus::write_register(uint8_t address, uint8_t value) {
this->send(FUNCTION_WRITE_REGISTER, address, value);
this->send(0x00, address, value);
}

void JkBalancerModbus::query_balancer_status() {
Expand Down

0 comments on commit 9a3bc08

Please sign in to comment.