Skip to content

Commit

Permalink
AP_ExternalAHRS_VectorNav: Fix bug preventing disabling of ASCII meas…
Browse files Browse the repository at this point in the history
…urements
  • Loading branch information
lashVN committed Jul 12, 2024
1 parent 9281d13 commit aa637da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/AP_ExternalAHRS/AP_ExternalAHRS_VectorNav.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,9 @@ void AP_ExternalAHRS_VectorNav::initialize() {

// Stop ASCII async outputs for both UARTs. If only active UART is disabled, we get a baudrate
// overflow on the other UART when configuring binary outputs (reg 75 and 76) to both UARTs
hal.util->snprintf(message_to_send, sizeof(message_to_send), "VNWRG,06,1");
hal.util->snprintf(message_to_send, sizeof(message_to_send), "VNWRG,06,0,1");
run_command();
hal.util->snprintf(message_to_send, sizeof(message_to_send), "VNWRG,06,2");
hal.util->snprintf(message_to_send, sizeof(message_to_send), "VNWRG,06,0,2");
run_command();

// Read Model Number Register, ID 1
Expand Down

0 comments on commit aa637da

Please sign in to comment.