Skip to content

Commit b8a9c97

Browse files
committed
autosync
1 parent a86fa1e commit b8a9c97

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11

2+
# [0.10.5]
3+
- Fixed SineWaveCAN example vbus request timeout
4+
25
# [0.10.4]
36

4-
# Fixes
57
- Updated can_helpers to remove some UB and make code run on Arduino boards more reliably
68

79
# [0.10.3]
810

9-
# Fixes
1011
- Fixed CAN awaitMsg timeout; now actually milliseconds instead of seconds

examples/SineWaveCAN/SineWaveCAN.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ void setup() {
210210
// request bus voltage and current (1sec timeout)
211211
Serial.println("attempting to read bus voltage and current");
212212
Get_Bus_Voltage_Current_msg_t vbus;
213-
if (!odrv0.request(vbus, 1)) {
213+
if (!odrv0.request(vbus, 1000)) {
214214
Serial.println("vbus request failed!");
215215
while (true); // spin indefinitely
216216
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://arduino.github.io/arduino-cli/0.33/library-specification/
22
name=ODriveArduino
3-
version=0.10.4
3+
version=0.10.5
44
author=ODrive Robotics Inc. <[email protected]>
55
maintainer=ODrive Robotics Inc. <[email protected]>
66
sentence=Library to control ODrive motor controllers

0 commit comments

Comments
 (0)