Skip to content

Commit

Permalink
Merge pull request #685 from ExpressLRS/remove-uart-inverted-for-esp32
Browse files Browse the repository at this point in the history
Remove UART_INVERTED option for all ESP32 based devices
  • Loading branch information
jurgelenas authored Sep 16, 2024
2 parents 8c1cc06 + d049e58 commit 7a6c406
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 7a6c406

Please sign in to comment.