From c79f85560d3022731e61383b39fb4d35ae4da7bf Mon Sep 17 00:00:00 2001 From: Vladimir Zidar Date: Sat, 28 May 2016 23:23:34 +0200 Subject: [PATCH] LP-324 Fixed MSP support for Sparky2 target --- flight/targets/boards/sparky2/firmware/Makefile | 1 + flight/targets/boards/sparky2/pios_board.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/flight/targets/boards/sparky2/firmware/Makefile b/flight/targets/boards/sparky2/firmware/Makefile index 1790c484b..160081566 100644 --- a/flight/targets/boards/sparky2/firmware/Makefile +++ b/flight/targets/boards/sparky2/firmware/Makefile @@ -53,6 +53,7 @@ MODULES += Telemetry MODULES += Notify OPTMODULES += ComUsbBridge +OPTMODULES += UAVOMSPBridge SRC += $(FLIGHTLIB)/notification.c diff --git a/flight/targets/boards/sparky2/pios_board.h b/flight/targets/boards/sparky2/pios_board.h index 92454499b..a3c40b10f 100644 --- a/flight/targets/boards/sparky2/pios_board.h +++ b/flight/targets/boards/sparky2/pios_board.h @@ -150,6 +150,8 @@ extern uint32_t pios_com_telem_usb_id; extern uint32_t pios_com_bridge_id; extern uint32_t pios_com_vcp_id; extern uint32_t pios_com_hkosd_id; +extern uint32_t pios_com_msp_id; + #define PIOS_COM_GPS (pios_com_gps_id) #define PIOS_COM_TELEM_USB (pios_com_telem_usb_id) #define PIOS_COM_TELEM_RF (pios_com_telem_rf_id) @@ -157,6 +159,7 @@ extern uint32_t pios_com_hkosd_id; #define PIOS_COM_BRIDGE (pios_com_bridge_id) #define PIOS_COM_VCP (pios_com_vcp_id) #define PIOS_COM_OSDHK (pios_com_hkosd_id) +#define PIOS_COM_MSP (pios_com_msp_id) #if defined(PIOS_INCLUDE_DEBUG_CONSOLE) extern uint32_t pios_com_debug_id;