addDevice completed
This commit is contained in:
@ -221,6 +221,7 @@ static bool addDeviceCmd(uint8_t argc, char **args) {
|
|||||||
sendFormatString(" Considered field: %d\n\r", deviceBlock.consideredField[i]);
|
sendFormatString(" Considered field: %d\n\r", deviceBlock.consideredField[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
deviceBlock.deviceMagic = DEVICE_MAGIC;
|
||||||
|
|
||||||
uint8_t index = getConfig()->numOfDeviceBlocks;
|
uint8_t index = getConfig()->numOfDeviceBlocks;
|
||||||
for (uint8_t i = 0; i < getConfig()->numOfDeviceBlocks; i++) {
|
for (uint8_t i = 0; i < getConfig()->numOfDeviceBlocks; i++) {
|
||||||
|
Reference in New Issue
Block a user