diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2015-06-28 16:30:08 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2015-06-28 16:30:08 +0200 |
commit | c4678339908e413cbc6751cf863267807acafc85 (patch) | |
tree | 3692460e9e5b390f542a53b768599f1a012267dc /src/entropy/stm_init.h | |
parent | f6818cce54b99eecfc0d67437095d5adb955ee2c (diff) |
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.
Diffstat (limited to 'src/entropy/stm_init.h')
-rw-r--r-- | src/entropy/stm_init.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entropy/stm_init.h b/src/entropy/stm_init.h index 6a5de19..d58c254 100644 --- a/src/entropy/stm_init.h +++ b/src/entropy/stm_init.h @@ -10,6 +10,7 @@ #define LED_BLUE GPIO_PIN_15 extern UART_HandleTypeDef huart1; +extern UART_HandleTypeDef huart2; extern DMA_HandleTypeDef hdma_tim; extern void stm_init(uint32_t *buf0, uint16_t counters); |