mirror of https://gerrit.osmocom.org/simtrace2
dfu: minor: make debug output only verbose in info level
the longer output is to fast and often incomplete. the shorter version is enough to view the progress when not debugging. Change-Id: I97bb84da68d1f3bc14fb7c05400edf1748f55460
This commit is contained in:
parent
9b367872c8
commit
98fbf23897
|
@ -66,7 +66,11 @@ int USBDFU_handle_dnload(uint8_t altif, unsigned int offset,
|
|||
WDT_Restart(WDT);
|
||||
}
|
||||
|
||||
printf("dnload(altif=%u, offset=%u, len=%u)\n\r", altif, offset, len);
|
||||
#if TRACE_LEVEL >= TRACE_LEVEL_INFO
|
||||
TRACE_INFO("dnload(altif=%u, offset=%u, len=%u)\n\r", altif, offset, len);
|
||||
#else
|
||||
printf("DL off=%u\n\r", offset);
|
||||
#endif
|
||||
|
||||
#ifdef PINS_LEDS
|
||||
PIO_Clear(&pinsLeds[LED_NUM_RED]);
|
||||
|
|
Loading…
Reference in New Issue