Skip to content

Commit

Permalink
making compatible to latest AskSinPP Lib version
Browse files Browse the repository at this point in the history
  • Loading branch information
jp112sdl committed Mar 30, 2018
1 parent cd92c5f commit 3ca1d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/HM-SCI-3-FM/HM-SCI-3-FM.ino
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void setup () {
DINIT(57600, ASKSIN_PLUS_PLUS_IDENTIFIER);
sdev.init(hal);
buttonISR(cfgBtn, CONFIG_BUTTON_PIN);
const uint8_t posmap[4] = {Positions::PosA, Positions::PosB, Positions::PosA, Positions::PosB};
const uint8_t posmap[4] = {Position::State::PosA, Position::State::PosB, Position::State::PosA, Position::State::PosB};

for (int i = 0; i < CHANNEL_COUNT; i++) {
sdev.channel(i+1).init(sens_pins[i], sens_pins[i], posmap);
Expand Down

0 comments on commit 3ca1d02

Please sign in to comment.