Skip to content

Commit

Permalink
Default UART_INVERTED to true
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgelenas committed Feb 21, 2021
1 parent cc78645 commit a4a689a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/api/src/factories/TargetUserDefinesFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default class TargetUserDefinesFactory {
UserDefine.Boolean(UserDefineKey.FEATURE_OPENTX_SYNC, true),
UserDefine.Boolean(UserDefineKey.FEATURE_OPENTX_SYNC_AUTOTUNE),
// compat
UserDefine.Boolean(UserDefineKey.UART_INVERTED),
UserDefine.Boolean(UserDefineKey.UART_INVERTED, true),
];

const DIY_900_TX_TTGO_V2_SX127x: UserDefine[] = [
Expand All @@ -207,7 +207,7 @@ export default class TargetUserDefinesFactory {
UserDefine.Boolean(UserDefineKey.FEATURE_OPENTX_SYNC, true),
UserDefine.Boolean(UserDefineKey.FEATURE_OPENTX_SYNC_AUTOTUNE),
// compat
UserDefine.Boolean(UserDefineKey.UART_INVERTED),
UserDefine.Boolean(UserDefineKey.UART_INVERTED, true),
];

const DIY_900_TX_ESP32_SX127x_E19: UserDefine[] = [
Expand All @@ -229,7 +229,7 @@ export default class TargetUserDefinesFactory {
UserDefine.Boolean(UserDefineKey.FEATURE_OPENTX_SYNC, true),
UserDefine.Boolean(UserDefineKey.FEATURE_OPENTX_SYNC_AUTOTUNE),
// compat
UserDefine.Boolean(UserDefineKey.UART_INVERTED),
UserDefine.Boolean(UserDefineKey.UART_INVERTED, true),
];

const DIY_900_TX_ESP32_SX127x_RFM95: UserDefine[] = [
Expand All @@ -251,7 +251,7 @@ export default class TargetUserDefinesFactory {
UserDefine.Boolean(UserDefineKey.FEATURE_OPENTX_SYNC, true),
UserDefine.Boolean(UserDefineKey.FEATURE_OPENTX_SYNC_AUTOTUNE),
// compat
UserDefine.Boolean(UserDefineKey.UART_INVERTED),
UserDefine.Boolean(UserDefineKey.UART_INVERTED, true),
];

const DIY_900_RX_ESP8285_SX127x: UserDefine[] = [
Expand Down Expand Up @@ -295,7 +295,7 @@ export default class TargetUserDefinesFactory {
UserDefine.Boolean(UserDefineKey.FEATURE_OPENTX_SYNC_AUTOTUNE),
UserDefine.Boolean(UserDefineKey.USE_500HZ),
// compat
UserDefine.Boolean(UserDefineKey.UART_INVERTED),
UserDefine.Boolean(UserDefineKey.UART_INVERTED, true),
];

const DIY_2400_TX_ESP32_SX1280_E28: UserDefine[] = [
Expand All @@ -316,7 +316,7 @@ export default class TargetUserDefinesFactory {
UserDefine.Boolean(UserDefineKey.FEATURE_OPENTX_SYNC_AUTOTUNE),
UserDefine.Boolean(UserDefineKey.USE_500HZ),
// compat
UserDefine.Boolean(UserDefineKey.UART_INVERTED),
UserDefine.Boolean(UserDefineKey.UART_INVERTED, true),
];

const DIY_2400_TX_ESP32_SX1280_LORA1280F27: UserDefine[] = [
Expand All @@ -332,7 +332,7 @@ export default class TargetUserDefinesFactory {
UserDefine.Boolean(UserDefineKey.FEATURE_OPENTX_SYNC_AUTOTUNE),
UserDefine.Boolean(UserDefineKey.USE_500HZ),
// compat
UserDefine.Boolean(UserDefineKey.UART_INVERTED),
UserDefine.Boolean(UserDefineKey.UART_INVERTED, true),
];

const GHOST_2400_TX: UserDefine[] = [
Expand Down

0 comments on commit a4a689a

Please sign in to comment.