Commit 0fb8b4c9 authored by lcgamboa's avatar lcgamboa

chg: stm32 io update bug fixed !minor

parent 4c2d12c6
...@@ -638,7 +638,7 @@ board_qemu_stm32::MStep(void) ...@@ -638,7 +638,7 @@ board_qemu_stm32::MStep(void)
if (connected) if (connected)
{ {
while ((n = recv (sockfd, &buff, 1, 0)) > 0) if ((n = recv (sockfd, &buff, 1, 0)) > 0)
{ {
pins[(0x7F & buff) - 1].value = ((0x80 & buff) > 0); pins[(0x7F & buff) - 1].value = ((0x80 & buff) > 0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment