diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-05-11 14:01:06 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-05-15 14:02:59 -0400 |
commit | 039d3f05239e48f0ddfae5fb14cde00d817b9ed2 (patch) | |
tree | 2723bc1aabe23f7da7bd134bf3157961716800cc /scripts/avrsim.py | |
parent | d56f8407a589919d913941d78a7ff7305ae41766 (diff) | |
download | kutter-039d3f05239e48f0ddfae5fb14cde00d817b9ed2.tar.gz kutter-039d3f05239e48f0ddfae5fb14cde00d817b9ed2.tar.xz kutter-039d3f05239e48f0ddfae5fb14cde00d817b9ed2.zip |
stepper: It is not necessary to ensure gpio_out_write value is 0 or 1
The gpio_out_write() and gpio_out_setup() calls will check for zero
and non-zero, so it is not necessary to explicitly convert to 0/1 in
the stepper.c code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/avrsim.py')
0 files changed, 0 insertions, 0 deletions