|
|
@ -921,17 +921,16 @@ void ihex_get_data(int addr, int len, unsigned char *bytes)
|
|
|
|
int printf_verbose(const char *format, ...)
|
|
|
|
int printf_verbose(const char *format, ...)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
va_list ap;
|
|
|
|
va_list ap;
|
|
|
|
int r;
|
|
|
|
int r = 0;
|
|
|
|
|
|
|
|
|
|
|
|
va_start(ap, format);
|
|
|
|
va_start(ap, format);
|
|
|
|
if (verbose) {
|
|
|
|
if (verbose) {
|
|
|
|
r = vprintf(format, ap);
|
|
|
|
r = vprintf(format, ap);
|
|
|
|
fflush(stdout);
|
|
|
|
fflush(stdout);
|
|
|
|
return r;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
va_end(ap);
|
|
|
|
va_end(ap);
|
|
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
return r;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void delay(double seconds)
|
|
|
|
void delay(double seconds)
|
|
|
|