As of commit eeabbf4 on 2022-03-22, ercf_software.cfg seems to have picked up a Unicode byte order marker sequence at the beginning of the file (0xEF 0xBB 0xBF).
For some reason, this sequence is confusing Klipper on my system:
File contains no section headers.
file: /home/pi/VoronConfig/klipper/ercf_software.cfg, line: 1
'\xef\xbb\xbf\n'
I'm guessing that it's not having this effect for everyone. Maybe it has something to do with my specific configuration or with being on a Raspberry Pi 4 or a Bullseye system. In any event, I don't think the BOM code is needed. This PR strips it.
As of commit eeabbf4 on 2022-03-22, ercf_software.cfg seems to have picked up a Unicode byte order marker sequence at the beginning of the file (0xEF 0xBB 0xBF).
For some reason, this sequence is confusing Klipper on my system:
I'm guessing that it's not having this effect for everyone. Maybe it has something to do with my specific configuration or with being on a Raspberry Pi 4 or a Bullseye system. In any event, I don't think the BOM code is needed. This PR strips it.