Considering a small embedded C project, how to decide if certain constants belong to
- a global configuration file
- the header of the "module == compilation unit"
- on top of the the actual C file
or inside the code?
I am talking about constants that can often change, and need to be conveniently located for the end user, as well as for the developer. Several examples include