summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/console.h
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2013-01-03 22:44:00 +0100
committerSylvain Munaut <tnt@246tNt.com>2013-01-05 18:38:42 +0100
commit21bc3b8db014b5579eb9dd960feb87f24ea1e857 (patch)
tree63e1cbff820cacc4c5efd1f1640f00557a2f5ca7 /src/target/firmware/include/console.h
parente340681c5bbcb9f904b0058d7f69f80ab2d32cc5 (diff)
fw: introduce per-board uart mapping
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Diffstat (limited to 'src/target/firmware/include/console.h')
-rw-r--r--src/target/firmware/include/console.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/target/firmware/include/console.h b/src/target/firmware/include/console.h
index 7146e990..cd27155e 100644
--- a/src/target/firmware/include/console.h
+++ b/src/target/firmware/include/console.h
@@ -10,9 +10,8 @@ int cons_puts(const char *s);
int cons_putchar(char c);
int cons_rb_flush(void);
void cons_init(void);
-
-/* We want the console on UART 0 (IRDA UART) */
-#define CONS_UART_NR 0
+void cons_bind_uart(int uart);
+int cons_get_uart(void);
/* Size of the static ring-buffer that we keep for console print messages */
#define CONS_RB_SIZE 4096