Scott Lahteine
f543aaa54e
Apply standard pin test to buttons
This is the easiest way to make button pin testing consistent without
renaming all the button pins. Just make a macro especially for testing
if button pins are set, since they are named consistently in the pins
files.
8 gadus atpakaļ
Scott Lahteine
f1ed310322
Add NUMERIC compare macros to simplify code
8 gadus atpakaļ
Scott Lahteine
0da744b7b0
Further cleanup of comments, partial Doxygen-style
Following up on #3231
8 gadus atpakaļ
jbrazio
5e5d250832
Added gplv3 header to all Marlin files
8 gadus atpakaļ
Scott Lahteine
9418b4f2f3
Promote STRINGIFY to macros.h
8 gadus atpakaļ
Scott Lahteine
73a59a4e45
Allow ENABLED(b) to work with "true" and "false"
8 gadus atpakaļ
Scott Lahteine
c8f76bb8aa
Create BITSET/BITCLR macros
8 gadus atpakaļ
Scott Lahteine
278aa15301
Add COUNT macro and apply
9 gadus atpakaļ
Scott Lahteine
d85861d296
Move macros, add ENABLED/DISABLED, add includes
9 gadus atpakaļ