diff options
| author | Dave Hylands | 2015-11-25 09:24:36 -0800 |
|---|---|---|
| committer | Damien George | 2015-11-26 00:04:34 +0000 |
| commit | 364bb61df339c5012fb2d5c4f05af4c57347aa09 (patch) | |
| tree | 2d9551cc2a5d163b3688582a0ebcd05311ec4d56 /stmhal/uart.c | |
| parent | 8844d031e4bc39cb6e6cd053b63a8cdaeb383221 (diff) | |
stmhal: Allow make DEBUG=1 to build
Diffstat (limited to 'stmhal/uart.c')
| -rw-r--r-- | stmhal/uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/uart.c b/stmhal/uart.c index b353f5d9e..374545163 100644 --- a/stmhal/uart.c +++ b/stmhal/uart.c @@ -115,7 +115,7 @@ void uart_deinit(void) { STATIC bool uart_init2(pyb_uart_obj_t *uart_obj) { USART_TypeDef *UARTx; IRQn_Type irqn; - uint32_t GPIO_Pin, GPIO_Pin2; + uint32_t GPIO_Pin, GPIO_Pin2 = 0; uint8_t GPIO_AF_UARTx = 0; GPIO_TypeDef* GPIO_Port = NULL; GPIO_TypeDef* GPIO_Port2 = NULL; |
