Skip to content

Commit

Permalink
make sure reception callback is configured in case of pending interru…
Browse files Browse the repository at this point in the history
…pt on UART
  • Loading branch information
houkhouk committed May 15, 2024
1 parent 6b184ed commit 4451fbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions network/robus_network/src/robus.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ robus_encaps_t encaps[MAX_MSG_NB]; // Store all the CRC for each msg to transmit
******************************************************************************/
void Robus_Init(void)
{
// Init Reception
Recep_Init();

// Init hal
RobusHAL_Init();

Expand All @@ -49,9 +52,6 @@ void Robus_Init(void)
// Init transmission
Transmit_Init();

// Init Receiption
Recep_Init();

// Instantiate the phy struct
phy_robus = Phy_Create(Robus_JobHandler, Robus_RunTopology, Robus_Reset);
LUOS_ASSERT(phy_robus);
Expand Down

0 comments on commit 4451fbe

Please sign in to comment.