Skip to content

Commit

Permalink
Fix bad 'i2c.write-reg' call. (#2648)
Browse files Browse the repository at this point in the history
Fixes #2646.
  • Loading branch information
floitsch authored Nov 26, 2024
1 parent df1c11d commit 7740ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/i2c.toit
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class Device implements serial.Device:
and then calling $(write bytes).
*/
write-reg register/int bytes/ByteArray:
write bytes: throw it
write-reg register bytes: throw it

/**
Variant of $(write-reg register bytes).
Expand Down

0 comments on commit 7740ba3

Please sign in to comment.