From 86b2f3bf39918083ef85c60a26545bee40a9dac0 Mon Sep 17 00:00:00 2001 From: Philip Roan <4581471+proan@users.noreply.github.com> Date: Fri, 27 Feb 2026 17:36:13 -0800 Subject: [PATCH] Remove reference to msg in debugging statements to enable compilation --- src/ODriveCAN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ODriveCAN.cpp b/src/ODriveCAN.cpp index bce61f6..5389134 100644 --- a/src/ODriveCAN.cpp +++ b/src/ODriveCAN.cpp @@ -149,7 +149,7 @@ void ODriveCAN::onReceive(uint32_t id, uint8_t length, const uint8_t* data) { Serial.println(id, HEX); Serial.print(F(" data: 0x")); while (byte_index >= 0) - Serial.print(msg.data[byte_index--], HEX); + Serial.print(data[byte_index--], HEX); Serial.println(F("")); #endif // DEBUG // Check that the message is meant for this node.