Skip to content

Commit

Permalink
[rol-jal-bim112] Call bcu.begin at the end of setup
Browse files Browse the repository at this point in the history
This solves Issue #38 for the rol-jal-bim112.
  • Loading branch information
Darthyson committed Apr 13, 2024
1 parent 0d8f574 commit 23fb084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actuators/blind-shutter/rol-jal-bim112/src/app_main.cpp
Expand Up @@ -113,7 +113,6 @@ BcuBase* setup()
pinMode(PIN_RUN, OUTPUT); // Run LED
#endif

bcu.begin(MANUFACTURER, currentVersion.hardwareVersion[5], APPVERSION); // we are a MDT shutter/blind actuator, version 2.8
#ifdef BUSFAIL
bcu.setUsrCallback((UsrCallback *)&usrCallback);
#endif
Expand All @@ -130,6 +129,7 @@ BcuBase* setup()
initApplication();
#endif

bcu.begin(MANUFACTURER, currentVersion.hardwareVersion[5], APPVERSION); // we are a MDT shutter/blind actuator, version 2.8
return (&bcu);
}

Expand Down

0 comments on commit 23fb084

Please sign in to comment.