diff options
author | Aaron Stone <aaron@serendipity.cx> | 2013-12-17 12:51:17 -0800 |
---|---|---|
committer | Aaron Stone <aaron@serendipity.cx> | 2013-12-17 13:23:50 -0800 |
commit | ed8501462ec235d1dd34afd21ef3fbab484055c4 (patch) | |
tree | b3344ea7bdce75cf9252442f738e9ab142802de2 /commandline/library | |
parent | e8fc0bd1c7af9d7018df37876806c8ee5afc7c3c (diff) | |
download | micronucleus-ed8501462ec235d1dd34afd21ef3fbab484055c4.tar.gz micronucleus-ed8501462ec235d1dd34afd21ef3fbab484055c4.tar.bz2 micronucleus-ed8501462ec235d1dd34afd21ef3fbab484055c4.zip |
commandline: use C automatic stringification
Diffstat (limited to 'commandline/library')
-rw-r--r-- | commandline/library/micronucleus_lib.c | 10 |
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); |