summaryrefslogtreecommitdiff
path: root/platform/kendryte/k210/uarths.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/kendryte/k210/uarths.h')
-rw-r--r--platform/kendryte/k210/uarths.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/platform/kendryte/k210/uarths.h b/platform/kendryte/k210/uarths.h
index 3bfb8d5..18b7e95 100644
--- a/platform/kendryte/k210/uarths.h
+++ b/platform/kendryte/k210/uarths.h
@@ -162,10 +162,7 @@ struct uarths {
struct uarths_div div;
} __attribute__((packed, aligned(4)));
-enum uarths_stopbit {
- UARTHS_STOP_1,
- UARTHS_STOP_2
-};
+enum uarths_stopbit { UARTHS_STOP_1, UARTHS_STOP_2 };
void uarths_init(u32 baud_rate, enum uarths_stopbit stopbit);
void uarths_putc(char c);