diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-08 15:08:08 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-08 15:08:08 +0000 |
commit | dc141db64de467b6982ec6d7edad3fcf62b994ab (patch) | |
tree | 7031340f4c70e1319b1c78b31adca329fa1f4bc3 /teensy/usart.c | |
parent | b97669ab9432146c1303dedfaa7b98f7ede3f8db (diff) | |
parent | e6b6af515449e67d5d3648818a191f3420d6f519 (diff) | |
download | micropython-dc141db64de467b6982ec6d7edad3fcf62b994ab.tar.gz micropython-dc141db64de467b6982ec6d7edad3fcf62b994ab.zip |
Merge branch 'master' of github.com:dpgeorge/micropython
Diffstat (limited to 'teensy/usart.c')
-rw-r--r-- | teensy/usart.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/teensy/usart.c b/teensy/usart.c new file mode 100644 index 0000000000..419dac9527 --- /dev/null +++ b/teensy/usart.c @@ -0,0 +1,30 @@ +#include "misc.h" +#include "../stm/usart.h" + +void usart_init(void) { +} + +bool usart_is_enabled(void) { + return false; +} + +bool usart_rx_any(void) { + return false; +} + +int usart_rx_char(void) { + return 0; +} + +void usart_tx_char(int c) { + (void)c; +} + +void usart_tx_str(const char *str) { + (void)str; +} + +void usart_tx_strn_cooked(const char *str, int len) { + (void)str; + (void)len; +} |