Tom-evnut / SimpBMS

SimpBMS Documentation
81 stars 12 forks source link

can.exitSettingMode is private in this context #8

Open amsmntparks opened 1 year ago

amsmntparks commented 1 year ago

I'm trying to compile some changes to the VoltBMS2.ino for Teensy 3.2/3.1 using the Arduino 2.1.1 IDE. It throws a lot of warnings, but a couple of errors about the can.exitSettingMode() being private in this context. I was able to resolve it by editing the Serial_CAN_Module_TeensyS3.h to move the exitSettingMode char from private to public. I'm not sure if that's a problem with the Serial_CAN library, or if the VoltBMS2 should have a different way of closing the settings.