Skip to content

Commit

Permalink
Merge pull request tibbotech#42 from tibbotech/salhk-patch-2
Browse files Browse the repository at this point in the history
change I2C_STATE to i2c_state
  • Loading branch information
Luis Ramirez authored Dec 9, 2022
2 parents 16c8527 + 5461cc2 commit 658be5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Platforms/i2c.tph
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ syscall(891) i2c.read(ack_bit as I2C_ACK_NACK) as byte
property i2c.state
'<b>PROPERTY (ENUM, BYTE). DEFAULT VALUE= 0- I2C_IDLE.</b><br><br>
'Returns the state (enum i2c_state) of the currently selected I2C channel (selection is made through i2c.channel).
get = syscall(892) as I2C_STATE
get = syscall(892) as i2c_state
end property

0 comments on commit 658be5e

Please sign in to comment.