Skip to content

Commit

Permalink
Use addresses enum for default I2c address
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianstevens committed Oct 18, 2023
1 parent 9d84329 commit e0fdf4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class Scd40 : Scd4xBase
/// </summary>
/// <param name="i2cBus">The I2C bus</param>
/// <param name="address">The I2C address</param>
public Scd40(II2cBus i2cBus, byte address = 98)
public Scd40(II2cBus i2cBus, byte address = (byte)Addresses.Default)
: base(i2cBus, address)
{ }
}
Expand Down

0 comments on commit e0fdf4b

Please sign in to comment.