deprecate debug UART

This commit is contained in:
Joey Castillo
2021-09-13 20:46:33 -04:00
parent 5a53916f0e
commit 05c816960b
2 changed files with 12 additions and 2 deletions

View File

@@ -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