ChangeDevice
This commit is contained in:
parent
9f71620697
commit
7b79103ed8
@ -237,7 +237,7 @@ static bool changeDeviceCmd(uint8_t argc, char **args) {
|
||||
bool retCode = makeDevice(argc, args, &deviceBlock, &index);
|
||||
if (retCode) {
|
||||
sendString("Changed device would be:\n\r");
|
||||
sendFormatString(" Index: %d\n\r");
|
||||
sendFormatString(" Index: %d\n\r", index);
|
||||
sendFormatString(" Name: %s, Address: %d, Period: %d\n\r",
|
||||
deviceBlock.deviceName, deviceBlock.address, deviceBlock.period);
|
||||
for (uint8_t i = 0; i < MBUSDEVICE_NUM_OF_CONSIDEREDFIELDS; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user