Skip to content

Commit

Permalink
Fixed syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
WoozyDragon committed Oct 25, 2023
1 parent 53e42e5 commit 2c122c3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ void cb(int8_t left, int8_t right) {

namespace uwb {
void update(float &d0, float &d1, float &d2) {
d0 = UWBBus::read_uwb(0);
d1 = UWBBus::read_uwb(1);
d2 = UWBBus::read_uwb(2);
d0 = UWBBus::read_uwb[0];
d1 = UWBBus::read_uwb[1];
d2 = UWBBus::read_uwb[2];
}
} // namespace uwb

Expand Down

0 comments on commit 2c122c3

Please sign in to comment.