Skip to content

Commit

Permalink
hwdef: cx_led_driver.lua init msg to MAVLink severity Info.
Browse files Browse the repository at this point in the history
cx_led_driver. lua script init msg was using MAVLINK_SEVERITY_EMERGENCY which is incorrect it should be just an info message.
  • Loading branch information
loki077 committed Dec 13, 2024
1 parent ad1b972 commit 306d72e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ local MOTOR_LED_PWM_VAL_MAX = 10000
-- Arming check interval
local LED_CYCLE_TIME = 2000

-------- MAVLINK/AUTOPILOT 'CONSTANTS' --------
-- MAVLink Severity Levels
local MAV_SEVERITY_INFO = 6

local LED_servo = SRV_Channels:find_channel(MOTOR_LED_FUNCTION)


gcs:send_text(0, "LED -- BEGIN")
gcs:send_text(MAV_SEVERITY_INFO, "LED -- BEGIN")


-- LED is switched ON using a PWM signal configured as MOTOR_LED_FUNCTION
Expand Down

0 comments on commit 306d72e

Please sign in to comment.