High five! btw you can compact the code a fair bit by moving the can data to the struct initialization, ref https://pastebin.com/vH0iU6hb
(half way done with a easyeda layout for stm8, mcp2515 and sn65hvd230, just need to find a solution for 12v to 3.3v thats in jlcpcb's basic selection. will...