diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-25 22:29:48 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-04-25 22:29:48 -0400 |
commit | 621706150fc55b8266229131cc7fb6db6b2f7cd9 (patch) | |
tree | 8e2b24332d47cea2888130fbecc6029f903a760f /libmaple | |
parent | d5ee5fef3e33c7fe634a0b416394be9a5aacaf60 (diff) | |
download | librambutan-621706150fc55b8266229131cc7fb6db6b2f7cd9.tar.gz librambutan-621706150fc55b8266229131cc7fb6db6b2f7cd9.zip |
Fixing usart_putstr() atrocity.
Diffstat (limited to 'libmaple')
-rw-r--r-- | libmaple/usart.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/usart.h b/libmaple/usart.h index b2bb034..0743c53 100644 --- a/libmaple/usart.h +++ b/libmaple/usart.h @@ -294,7 +294,7 @@ static inline void usart_putc(usart_dev* dev, uint8 byte) { static inline void usart_putstr(usart_dev *dev, const char* str) { uint32 i = 0; while (str[i] != '\0') { - usart_putc(dev, str[i]); + usart_putc(dev, str[i++]); } } |