mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08:29:15 +01:00
OP-1476 - Fix other targets for OP_DFU changes
This commit is contained in:
parent
1de46ae493
commit
531d80a69c
@ -216,3 +216,8 @@ uint8_t processRX()
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int32_t platform_senddata(const uint8_t *msg, uint16_t msg_len)
|
||||
{
|
||||
return PIOS_COM_MSG_Send(PIOS_COM_TELEM_USB, msg, msg_len);
|
||||
}
|
||||
|
@ -250,3 +250,8 @@ void check_bor()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int32_t platform_senddata(const uint8_t *msg, uint16_t msg_len)
|
||||
{
|
||||
return PIOS_COM_MSG_Send(PIOS_COM_TELEM_USB, msg, msg_len);
|
||||
}
|
||||
|
@ -66,6 +66,7 @@ void PIOS_Board_Init(void)
|
||||
void setupCom()
|
||||
{
|
||||
uint32_t pios_usart_generic_id;
|
||||
|
||||
if (PIOS_USART_Init(&pios_usart_generic_id, &pios_usart_generic_main_cfg)) {
|
||||
PIOS_Assert(0);
|
||||
}
|
||||
|
@ -217,3 +217,8 @@ uint8_t processRX()
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int32_t platform_senddata(const uint8_t *msg, uint16_t msg_len)
|
||||
{
|
||||
return PIOS_COM_MSG_Send(PIOS_COM_TELEM_USB, msg, msg_len);
|
||||
}
|
||||
|
@ -224,3 +224,8 @@ uint8_t processRX()
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
int32_t platform_senddata(const uint8_t *msg, uint16_t msg_len)
|
||||
{
|
||||
return PIOS_COM_MSG_Send(PIOS_COM_TELEM_USB, msg, msg_len);
|
||||
}
|
||||
|
@ -250,3 +250,8 @@ void check_bor()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int32_t platform_senddata(const uint8_t *msg, uint16_t msg_len)
|
||||
{
|
||||
return PIOS_COM_MSG_Send(PIOS_COM_TELEM_USB, msg, msg_len);
|
||||
}
|
||||
|
@ -250,3 +250,8 @@ void check_bor()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int32_t platform_senddata(const uint8_t *msg, uint16_t msg_len)
|
||||
{
|
||||
return PIOS_COM_MSG_Send(PIOS_COM_TELEM_USB, msg, msg_len);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user