ESP32: replaced the mod base circular increment by uLipe · Pull Request #493 · simplefoc/Arduino-FOC
of the ADC buffer with a branch based option to avoid the compiler to use a MOD instruction that consumes several cycles. Signed-off-by: Felipe Neves <ryukokki.felipe@gmail.com>
To happen after the ADC reading to avoid shifting the order of the samples. Signed-off-by: Felipe Neves <ryukokki.felipe@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters