From c4678339908e413cbc6751cf863267807acafc85 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Sun, 28 Jun 2015 16:30:08 +0200 Subject: Enable dual USART output functionality. In other words, enable the USART connected to the serial port on the Raspberry Pi GPIO header. Sending a newline to either USART directs the generated entropy to that USART. --- src/uart-test/stm_init.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/uart-test/stm_init.h') diff --git a/src/uart-test/stm_init.h b/src/uart-test/stm_init.h index e1cdfb8..838ca77 100644 --- a/src/uart-test/stm_init.h +++ b/src/uart-test/stm_init.h @@ -10,6 +10,7 @@ #define LED_BLUE GPIO_PIN_15 extern UART_HandleTypeDef huart1; +extern UART_HandleTypeDef huart2; extern void stm_init(void); -- cgit v1.2.3