From f83f617e525714fdad145ee9b4916d9e1a488ef4 Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Fri, 1 Mar 2024 15:03:10 -0600 Subject: [PATCH] [target] MATEKF405SE fix compiler warning and refresh naming (#983) --- src/main/target/MATEKF405SE/target.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/target/MATEKF405SE/target.h b/src/main/target/MATEKF405SE/target.h index 006cbe36cd..5be9894d2b 100644 --- a/src/main/target/MATEKF405SE/target.h +++ b/src/main/target/MATEKF405SE/target.h @@ -20,8 +20,11 @@ #pragma once -#define TARGET_BOARD_IDENTIFIER "MKF4" -#define USBD_PRODUCT_STRING "Matek F405 SE" +#define TARGET_MANUFACTURER_IDENTIFIER "MTKS" +#define USBD_PRODUCT_STRING "MATEKF405SE" + +#define FC_TARGET_MCU STM32F405 // not used in EmuF +#define TARGET_BOARD_IDENTIFIER "S405" // generic ID #define LED0_PIN PA14 #define LED1_PIN PA13 @@ -88,7 +91,7 @@ #define BARO_I2C_INSTANCE (I2CDEV_1) #define USE_I2C_DEVICE_2 -#define I2C_DEVICE (I2CDEV_2) +#define I2C_DEVICE_2 (I2CDEV_2) #define I2C2_SCL PB10 // SCL pad #define I2C2_SDA PB11 // SDA pad #define BARO_I2C_INSTANCE (I2CDEV_1)