summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/serial.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/drivers/serial.c b/firmware/drivers/serial.c
index 5ea807abb4..8fe051dd9e 100644
--- a/firmware/drivers/serial.c
+++ b/firmware/drivers/serial.c
@@ -42,7 +42,10 @@ static void screen_dump(void);
42#endif 42#endif
43 43
44void serial_setup (void) 44void serial_setup (void)
45{ 45{
46 /* Set PB10 function to serial Rx */
47 PBCR1 = (PBCR1 & 0xffcf) | 0x0020;
48
46 SMR1 = 0x00; 49 SMR1 = 0x00;
47 SCR1 = 0; 50 SCR1 = 0;
48 BRR1 = (FREQ/(32*9600))-1; 51 BRR1 = (FREQ/(32*9600))-1;