diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-09-13 20:46:33 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-09-13 23:39:24 -0400 |
commit | 05c816960b0c3135349f794caf90761b1188d02b (patch) | |
tree | 9f2fa5e76615452eaab8d633c5188a713784c3b2 /watch-library/watch/watch_uart.c | |
parent | 5a53916f0e51f02aab6d892c87310e5730abce5c (diff) | |
download | Sensor-Watch-05c816960b0c3135349f794caf90761b1188d02b.tar.gz Sensor-Watch-05c816960b0c3135349f794caf90761b1188d02b.tar.bz2 Sensor-Watch-05c816960b0c3135349f794caf90761b1188d02b.zip |
deprecate debug UART
Diffstat (limited to 'watch-library/watch/watch_uart.c')
-rw-r--r-- | watch-library/watch/watch_uart.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/watch-library/watch/watch_uart.c b/watch-library/watch/watch_uart.c index a747e71b..3d97803d 100644 --- a/watch-library/watch/watch_uart.c +++ b/watch-library/watch/watch_uart.c @@ -80,6 +80,9 @@ void watch_debug_putc(char c) { SERCOM3->USART.DATA.reg = c; } +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" void watch_debug_puts(char *s) { while (*s) watch_debug_putc(*s++); } +#pragma GCC diagnostic pop |