Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hwdef: cx_led_driver.lua init msg to MAVLink severity Info. #268

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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