Browse Source

AP_UAVCAN: increase message timeout to 2ms

this reduces the number of msg timeouts
master
Andrew Tridgell 7 years ago
parent
commit
438a7dd79a
  1. 2
      libraries/AP_UAVCAN/AP_UAVCAN.cpp

2
libraries/AP_UAVCAN/AP_UAVCAN.cpp

@ -84,7 +84,7 @@ const AP_Param::GroupInfo AP_UAVCAN::var_info[] = { @@ -84,7 +84,7 @@ const AP_Param::GroupInfo AP_UAVCAN::var_info[] = {
// this is the timeout in milliseconds for periodic message types. We
// set this to 1 to minimise resend of stale msgs
#define CAN_PERIODIC_TX_TIMEOUT_MS 1
#define CAN_PERIODIC_TX_TIMEOUT_MS 2
static void gnss_fix_cb(const uavcan::ReceivedDataStructure<uavcan::equipment::gnss::Fix>& msg, uint8_t mgr)
{

Loading…
Cancel
Save