diff --git a/src/drivers/uavcannode/Publishers/SafetyButton.hpp b/src/drivers/uavcannode/Publishers/SafetyButton.hpp index 136cd27c45f7..4634acc887fd 100644 --- a/src/drivers/uavcannode/Publishers/SafetyButton.hpp +++ b/src/drivers/uavcannode/Publishers/SafetyButton.hpp @@ -75,7 +75,8 @@ class SafetyButton : if (safety_button.triggered) { ardupilot::indication::Button Button{}; Button.button = ardupilot::indication::Button::BUTTON_SAFETY; - Button.press_time = UINT8_MAX; + // NOTE: Ardupilot checks that the press time is exactly 10, PX4 checks >= 10 + Button.press_time = 10; uavcan::Publisher::broadcast(Button); } }