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 | ae6500319b930a4ee1f3785f487eb1d91b5b09de (patch) | |
| tree | 108cf954e5801943eeb2a2c6c7118bac0c25127c | |
| parent | 4941335ab8f6c3570e12069d60820cc2936f8c5e (diff) | |
Fixing usart_putstr() atrocity.
| -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++]); } } |
