You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 4, 2026. It is now read-only.
I have searched the issues and there is no existing issue for this bug.
What development environment are you using?
PlatformIO
What board are you using?
Raspberry Pi Pico RP2040
What part of CRSF for Arduino is this bug related to?
RC Channels
Current behaviour
When I set up the library to get rc channel data, the callback will run but the channel data never changes.
I only encounter this issue when my Pi Pico is connected to the Adafruit PiCowbell CAN Bus.
Expected behaviour
The rc data should update as normal.
Steps to reproduce
I'm unsure how to reproduce this issue without the mentioned hardware.
/* Reset the frame position if the frame time has expired. */
if (currentTime - frameStartTime > timePerFrame)
{
framePosition = 0;
if (currentTime < frameStartTime)
{
frameStartTime = currentTime;
}
}
So the frame expires before it is fully parsed, causing framePosition to be reset to 0 mid-way through parsing a frame and thus the CRC check will fail.
Is there an existing issue for this bug?
What development environment are you using?
PlatformIO
What board are you using?
Raspberry Pi Pico RP2040
What part of CRSF for Arduino is this bug related to?
RC Channels
Current behaviour
When I set up the library to get rc channel data, the callback will run but the channel data never changes.
I only encounter this issue when my Pi Pico is connected to the Adafruit PiCowbell CAN Bus.
Expected behaviour
The rc data should update as normal.
Steps to reproduce
I'm unsure how to reproduce this issue without the mentioned hardware.
Additional information
Removing the following lines fixes the issue.
CRSFforArduino/src/SerialReceiver/CRSF/CRSF.cpp
Lines 78 to 87 in 26952d5
framePositionto be reset to 0 mid-way through parsing a frame and thus the CRC check will fail.