Skip to content

Commit

Permalink
[rol-jal-bim112] Delete duplicate call of startBusVoltageMonitoring
Browse files Browse the repository at this point in the history
Calling `startBusVoltageMonitoring` twice is specific to the out8-bcu1 application. Its release build calls `analogBegin()` which disables the ADC interrupt (issue #34).
  • Loading branch information
Darthyson committed Mar 3, 2024
1 parent 345cbbe commit dd01a0d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion actuators/blind-shutter/rol-jal-bim112/src/app_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ BcuBase* setup()

#ifdef BUSFAIL
initApplication(AppData.channelPositions, AppData.channelSlatPositions);
startBusVoltageMonitoring(); // needs to be called again, because Release version is using analog_pin.h functions from sblib which break our ADC Interrupts
#else
initApplication();
#endif
Expand Down

0 comments on commit dd01a0d

Please sign in to comment.