[X10 Express] Compilation support added

This commit is contained in:
Bertrand Songis
2019-08-27 09:14:26 +02:00
parent ed64c59b37
commit d2f3e421af
15 changed files with 65 additions and 36 deletions
+3 -2
View File
@@ -163,8 +163,9 @@ void ModelData::clear()
moduleData[0].ppm.delay = 300;
moduleData[1].ppm.delay = 300;
moduleData[2].ppm.delay = 300;
int board = getCurrentBoard();
if (IS_ACCESS_RADIO(board)) {
Firmware * firmware = Firmware::getCurrentVariant();
int board = firmware->getBoard();
if (firmware->isAvailable(PULSES_ACCESS_ISRM, 0)) {
moduleData[0].protocol = PULSES_ACCESS_ISRM;
moduleData[1].protocol = PULSES_OFF;
}