summaryrefslogtreecommitdiffstats
path: root/commandline
diff options
context:
space:
mode:
authorAaron Stone <aaron@serendipity.cx>2013-12-17 12:51:17 -0800
committerAaron Stone <aaron@serendipity.cx>2013-12-17 13:23:50 -0800
commited8501462ec235d1dd34afd21ef3fbab484055c4 (patch)
treeb3344ea7bdce75cf9252442f738e9ab142802de2 /commandline
parente8fc0bd1c7af9d7018df37876806c8ee5afc7c3c (diff)
downloadmicronucleus-ed8501462ec235d1dd34afd21ef3fbab484055c4.tar.gz
micronucleus-ed8501462ec235d1dd34afd21ef3fbab484055c4.tar.bz2
micronucleus-ed8501462ec235d1dd34afd21ef3fbab484055c4.zip
commandline: use C automatic stringification
Diffstat (limited to 'commandline')
-rw-r--r--commandline/library/micronucleus_lib.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/commandline/library/micronucleus_lib.c b/commandline/library/micronucleus_lib.c
index 8774e25..9b73d46 100644
--- a/commandline/library/micronucleus_lib.c
+++ b/commandline/library/micronucleus_lib.c
@@ -50,10 +50,12 @@ micronucleus* micronucleus_connect() {
nucleus->version.minor = dev->descriptor.bcdDevice & 0xFF;
if (nucleus->version.major > MICRONUCLEUS_MAX_MAJOR_VERSION) {
- fprintf(stderr, "Warning: device with unknown new version of Micronucleus detected.\n");
- fprintf(stderr, "This tool doesn't know how to upload to this new device. Updates may be available.\n");
- fprintf(stderr, "Device reports version as: %d.%d\n", nucleus->version.major, nucleus->version.minor);
- return NULL;
+ fprintf(stderr,
+ "Warning: device with unknown new version of Micronucleus detected.\n"
+ "This tool doesn't know how to upload to this new device. Updates may be available.\n"
+ "Device reports version as: %d.%d\n",
+ nucleus->version.major, nucleus->version.minor);
+ return NULL;
}
nucleus->device = usb_open(dev);