Skip to content

Commit

Permalink
fixed uart init if canbus only
Browse files Browse the repository at this point in the history
  • Loading branch information
thankthemaker committed Sep 23, 2023
1 parent f192c7a commit 3939242
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ BLE_OTA_DFU ota_dfu_ble;

VescData vescData;

//HardwareSerial vesc(2);
#ifndef CANBUS_ENABLED
HardwareSerial vesc(2);
#endif

ILedController *ledController;

Expand Down

0 comments on commit 3939242

Please sign in to comment.