[Grbl_Esp32 PR#506] Clang format

未分类 bolang 4个月前 (10-14) 58次浏览

Issue #506 | 状态: 已关闭 | 作者: atlaste | 创建时间: 2020-08-04


– Added .clang-format file and applied it throughout the code base. Did not change any of the logic; this is already a big change!
– Disabled clang-format in grbl.h. This is way too sensitive for re-ordering.
– Fixed include order where appropriate as a result of the re-ordering in clang-format. Added includes in cpp files where needed.
– Removed the ifdef for websocket in the header file. Since the pointer is forward declarated, it makes no difference on the runtime.
– Added platformio version of Visual Studio solution for compilation.
– Added a few rules to the gitignore; we don’t want build files in the repo.


评论 (1)

#1 – atlaste 于 2020-08-04

– Oh, I also removed print.h because it’s obsolete and gives build errors.

TODO: Re-apply the two diffs from master. Master is currently ahead of Devt, which is wrong.


原始Issue: https://github.com/bdring/Grbl_Esp32/pull/506

喜欢 (0)