Skip to content

Commit

Permalink
Remove UART_INVERTED option for all ESP32 based devices since they au…
Browse files Browse the repository at this point in the history
…to-detect
  • Loading branch information
jurgelenas committed Sep 16, 2024
1 parent 8c1cc06 commit d049e58
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,12 @@ export default class DeviceDescriptionsLoader {
userDefines.push(
targetUserDefinesFactory.build(UserDefineKey.TLM_REPORT_INTERVAL_MS)
);
userDefines.push(
targetUserDefinesFactory.build(UserDefineKey.UART_INVERTED)
);
// https://github.com/ExpressLRS/ExpressLRS-Configurator/issues/684
if (!config.platform.startsWith('esp32')) {
userDefines.push(
targetUserDefinesFactory.build(UserDefineKey.UART_INVERTED)
);
}
}
if (args.target.includes('.rx_')) {
userDefines.push(
Expand Down

0 comments on commit d049e58

Please sign in to comment.