aboutsummaryrefslogtreecommitdiff
path: root/teensy/usart.c
blob: 419dac9527d69dda25a0140c72d9a2104129d59f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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;
}