hydrausb3 / hydrausb3_fw

HydraUSB3 (WCH CH569) open source test firmware / examples / libraries to experiment with streaming / high-speed protocols (USB2 HS, USB3 SS, HSPI, SerDes...)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project is indented using tabs. Spaces would be better.

hansfbaier opened this issue · comments

Indentation seems to be by tabs.
Spaces would be better, because then vertical alignment would
be consistent across editors with different tab width settings:
image

It is the intended behavior when using astyle like described in https://github.com/hydrausb3/hydrausb3_fw/blob/main/CODING_STYLE.md
So we shall apply that coding rules even if things like that are not perfect the good point is it is done automatically by astyle -T --indent-switches --style=bsd --lineend=linux my_c_file.c
If you have a better settings with astyle to avoid that (which is really minor) I'm open to check it (for information I have tested -t instead of -T and tons of other things are ugly so it is the only drawback so far)

Ah, ok. Thanks.