reset error rate when initializing encoder

This commit is contained in:
vadim 2019-02-28 11:00:28 +02:00
parent f668b89db5
commit c7515fbda5
1 changed files with 1 additions and 0 deletions

View File

@ -196,6 +196,7 @@ void encoder_init_as5047p_spi(void) {
mode = ENCODER_MODE_AS5047P_SPI;
index_found = true;
spi_error_rate = 0.0;
}
void encoder_init_ad2s1205_spi(void) {