Skip to content

Commit

Permalink
fix: Remove unnecessary argument to AsyncClient::write_point
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsvante authored and bikeshedder committed Oct 26, 2024
1 parent e063b5c commit c26f479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ impl<C: AsyncModbusClient> AsyncClient<C> {
/// Write data for a single point
pub async fn write_point<M: Model, T: Value>(
&mut self,
model_addr: ModelAddr<M>,
point: Point<M, T>,
value: T,
) -> Result<(), WritePointError> {
let model_addr = M::addr(&self.models);
write_point(
&mut self.client,
model_addr,
Expand Down

0 comments on commit c26f479

Please sign in to comment.