<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">The original code was written in Whitesmiths style, with 2 spaces (not tabs). That is my preferred style, but it is damn hard to find an auto-formatter integrated to an IDE that will support it perfectly. The MPLAB-X IDE does a reasonable job. Short description:<div class=""><br class=""></div><div class=""><ul class="MailOutline"><li class="">2 spaces indent</li><li class="">convert tabs to spaces</li><li class="">braces on their own lines</li></ul><div class=""><br class=""></div><div class="">The vast majority of the OVMS code follows that.</div><div class=""><br class=""></div><div class="">I’ve tried to export my formatting preferences, and attach here, but not sure if it works or not. The whitesmiths.zip is just the formatting editor part of my preferences, and the whitesmiths.zip is my entire preferences. I can’t see the name ‘whitesmiths’ anywhere in the exported ZIP files, so really not sure if this export feature works or not.</div><div class=""><br class=""></div><div class="">Regards, Mark.</div><div class=""><br class=""></div><div class=""></div></div></div></body></html>