Skip to content

Commit 7bacc20

Browse files
committed
CurrentSense::gain_x must be a float
1 parent fd78d2e commit 7bacc20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/current_sense/InlineCurrentSense.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ class InlineCurrentSense: public CurrentSense{
2929
// ADC measuremnet gain for each phase
3030
// support for different gains for different phases of more commonly - inverted phase currents
3131
// this should be automated later
32-
int gain_a; //!< phase A gain
33-
int gain_b; //!< phase B gain
34-
int gain_c; //!< phase C gain
32+
float gain_a; //!< phase A gain
33+
float gain_b; //!< phase B gain
34+
float gain_c; //!< phase C gain
3535

3636
private:
3737

0 commit comments

Comments
 (0)