diff options
| author | Bluebie <a@creativepony.com> | 2013-12-18 09:02:08 +1100 | 
|---|---|---|
| committer | Bluebie <a@creativepony.com> | 2013-12-18 09:02:08 +1100 | 
| commit | 1cfa67606118be11def9fd98e2203163da07e522 (patch) | |
| tree | b11ac41e857d2042f505c7e29f782bf613019e8d | |
| parent | 0de222efe437027c73cd086eaf29ed9921f1b221 (diff) | |
| download | micronucleus-1cfa67606118be11def9fd98e2203163da07e522.tar.gz micronucleus-1cfa67606118be11def9fd98e2203163da07e522.tar.bz2 micronucleus-1cfa67606118be11def9fd98e2203163da07e522.zip | |
commandline: no functional change - style conformance
| -rw-r--r-- | commandline/examples/micronucleus.c | 7 | 
1 files changed, 2 insertions, 5 deletions
| diff --git a/commandline/examples/micronucleus.c b/commandline/examples/micronucleus.c index f77863f..c6d122a 100644 --- a/commandline/examples/micronucleus.c +++ b/commandline/examples/micronucleus.c @@ -192,8 +192,7 @@ int main(int argc, char **argv) {    int startAddress = 1, endAddress = 0; -  if (!erase_only) -  { +  if (!erase_only) {      setProgressData("parsing", 3);      printProgress(0.0);      memset(dataBuffer, 0xFF, sizeof(dataBuffer)); @@ -257,8 +256,7 @@ int main(int argc, char **argv) {    }    printProgress(1.0); -  if (!erase_only) -  { +  if (!erase_only) {      printf("> Starting to upload ...\n");      setProgressData("writing", 5);      res = micronucleus_writeFlash(my_device, endAddress, dataBuffer, printProgress); @@ -270,7 +268,6 @@ int main(int argc, char **argv) {    }    if (run) { -      printf("> Starting the user app ...\n");      setProgressData("running", 6);      printProgress(0.0); | 
