Skip to content

Commit 2869481

Browse files
author
Richard Unger
committed
fix compile error in example due to API change
1 parent cd3d0a5 commit 2869481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/encoders/mt6816/mt6816_spi/mt6816_spi.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ BLDCMotor motor = BLDCMotor(7);
2323
BLDCDriver3PWM driver = BLDCDriver3PWM(32, 25, 26, 33);
2424

2525
// Inline Current Sense instance
26-
InlineCurrentSense current_sense = InlineCurrentSense(0.01, 50.0, 35, 34);
26+
InlineCurrentSense current_sense = InlineCurrentSense(0.01f, 50.0f, 35, 34);
2727

2828
// commander interface
2929
Commander command = Commander(Serial);

0 commit comments

Comments
 (0)