some trivial change

This commit is contained in:
HATATANI Shinta 2011-07-15 16:25:05 +09:00
parent a7d713d253
commit 94a6f4087c
2 changed files with 5 additions and 3 deletions

View file

@ -67,7 +67,10 @@ shell_default_output(const char *text1, int len1, const char *text2, int len2)
text2 = ""; text2 = "";
len2 = 0; len2 = 0;
} }
printf("%.*s%.*s\r\n", len1, text1, len2, text2);
/* Workaround for absence of "%.*s" format in avr-libc */
/*printf("%.*s%.*s\r\n", len1, text1, len2, text2);*/
printf("%s%s\r\n", text1, text2);
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
void void

View file

@ -47,11 +47,10 @@
#define PLATFORM PLATFORM_AVR #define PLATFORM PLATFORM_AVR
#define HARWARE_REVISION IRIS #define HARWARE_REVISION IRIS
//#define RAVEN_REVISION RAVEN_D
/* /*
* MCU and clock rate. * MCU and clock rate.
* MICAZ runs on 7.3728 MHz clock. * IRIS runs on 8 MHz clock.
*/ */
#define MCU_MHZ 8 #define MCU_MHZ 8