[Cryptech-Commits] [sw/stm32] branch master updated: Update huart names to reflect change in stm-uart.

git at cryptech.is git at cryptech.is
Tue May 31 13:25:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

fredrik at thulin.net pushed a commit to branch master
in repository sw/stm32.

The following commit(s) were added to refs/heads/master by this push:
       new  d8ede68   Update huart names to reflect change in stm-uart.
d8ede68 is described below

commit d8ede68bee96b810ad7bfcbd126daf67e2e7b92a
Author: Fredrik Thulin <fredrik at thulin.net>
AuthorDate: Tue May 31 15:25:04 2016 +0200

    Update huart names to reflect change in stm-uart.
---
 projects/hsm/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/projects/hsm/main.c b/projects/hsm/main.c
index 95483ee..ed93aed 100644
--- a/projects/hsm/main.c
+++ b/projects/hsm/main.c
@@ -202,7 +202,7 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
  */
 void USART2_IRQHandler(void)
 {
-    HAL_UART_IRQHandler(&huart2);
+    HAL_UART_IRQHandler(&huart_user);
 }
 
 /* The main thread. After the system setup, it waits for the RPC-request
@@ -252,7 +252,7 @@ int main()
         Error_Handler();
 
     /* Start the non-blocking receive */
-    HAL_UART_Receive_IT(&huart2, &c, 1);
+    HAL_UART_Receive_IT(&huart_user, &c, 1);
 
     while (1) {
         osSemaphoreWait(rpc_sem, osWaitForever);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list