Skip to content

Commit

Permalink
Use USART_INPUT for CrsfSerialStream
Browse files Browse the repository at this point in the history
  • Loading branch information
CapnBry committed May 23, 2021
1 parent dcbe12a commit 1d2e830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ constexpr PinName OUTPUT_PINS[NUM_OUTPUTS] = { OUTPUT_PIN_MAP };
#define VBAT_SCALE 1.0

// Local Variables
static HardwareSerial CrsfSerialStream(USART2);
static HardwareSerial CrsfSerialStream(USART_INPUT);
static CrsfSerial crsf(CrsfSerialStream);
static int g_OutputsUs[NUM_OUTPUTS];
static struct tagConnectionState {
Expand Down

0 comments on commit 1d2e830

Please sign in to comment.