Skip to content
Snippets Groups Projects
Select Git revision
  • e5cbb70328239e58c820938eccd51f3c735fc312
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

py

user avatar
Damien George authored
These functions are generally 1 machine instruction, and are used in
critical code, so makes sense to have them inline.

Also leave these functions uninverted (ie 0 means enable, 1 means
disable) and provide macro constants if you really need to distinguish
the states.  This makes for smaller code as well (combined with
inlining).

Applied to teensy port as well.
e5cbb703
History
Name Last commit Last update
..