mirror of
https://github.com/esphome/esphome.git
synced 2025-01-31 10:10:56 +00:00
Fractal147
3c64c9b0e9
Fix stepper half half step mode (#1397)
* Fixed half half step mode Half step mode originally had second and third steps mixed up for output A. https://github.com/esphome/issues/issues/1655 * Updated half step mode to have no branching Code based off comments in PR: https://github.com/esphome/esphome/pull/1397#issuecomment-739413973 * removed variable declarations in the switch/case Oops. No explicit declarations. Rearranged to be tidier, same output sequence. * Fixed typo bracket Minor typo fixed - logic complete to do branchless half stepping. * Format the brackets to satisfy clang
ESPHome
Documentation: https://esphome.io/
For issues, please go to the issue tracker.
For feature requests, please see feature requests.
Description
Languages
C++
70.1%
Python
29.6%
C
0.1%