XIAO RP2040 gives incorrect CRC with Dynamixel Library

Made a simple ping sketch using Dynamixel2Arduino (https://github.com/ROBOTIS-GIT/Dynamixel2Arduino) and work well with the original XIAO, but with XIAO RP2040 the CRC calculation in packet is wrong. Can anybody help figure this out?

Seeeduino XIAO correct output = FF FF FD 0 1 3 0 1 19 4E
Seeeduino XIAO RP2040 incorrect CRC = FF FF FD 0 1 3 0 1 2D 1

Code where CRC is calculated: