format: no tabs, only spaces
This commit is contained in:
+4
-4
@@ -1006,14 +1006,14 @@ int cliSet(const char **argv)
|
|||||||
}
|
}
|
||||||
const auto* mod = modulePortGetModuleDescription(INTERNAL_MODULE);
|
const auto* mod = modulePortGetModuleDescription(INTERNAL_MODULE);
|
||||||
if (!mod || !mod->set_bootcmd) {
|
if (!mod || !mod->set_bootcmd) {
|
||||||
cliSerialPrint("%s: invalid module or has no bootcmd pin", argv[0]);
|
cliSerialPrint("%s: invalid module or has no bootcmd pin", argv[0]);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
mod->set_bootcmd(level);
|
mod->set_bootcmd(level);
|
||||||
if (level) {
|
if (level) {
|
||||||
cliSerialPrint("%s: bootcmd set", argv[0]);
|
cliSerialPrint("%s: bootcmd set", argv[0]);
|
||||||
} else {
|
} else {
|
||||||
cliSerialPrint("%s: bootcmd reset", argv[0]);
|
cliSerialPrint("%s: bootcmd reset", argv[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user