Skip to content

Commit 47462b2

Browse files
authored
Revert Add call to WP PrepareReception to allow target specific code (#2917) (#2920)
***NO_CI***
1 parent 5e0dc2f commit 47462b2

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

targets/ChibiOS/_common/WireProtocol_ReceiverThread.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ __attribute__((noreturn)) void ReceiverThread(void const *argument)
1919
{
2020
(void)argument;
2121

22+
osDelay(500);
23+
2224
WP_Message_PrepareReception();
2325

2426
// loop until thread receives a request to terminate
@@ -51,12 +53,7 @@ __attribute__((noreturn)) void ReceiverThread(void const *argument)
5153
// this function never returns
5254
}
5355

54-
__nfweak void WP_Message_PrepareReception_Target()
55-
{
56-
// empty on purpose, to be implemented by target if needed
57-
}
58-
5956
void WP_Message_PrepareReception_Platform()
6057
{
61-
WP_Message_PrepareReception_Target();
58+
// empty on purpose, nothing to configure
6259
}

0 commit comments

Comments
 (0)