typo fix for custom encoder read callback

This commit is contained in:
sean 2023-02-15 11:24:04 +11:00
parent 0d0f30650a
commit 2bb7d4328d
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ float encoder_read_deg(void) {
return AS5x47U_LAST_ANGLE(&encoder_cfg_as5x47u);
} else if (m_encoder_type_now == ENCODER_TYPE_BISSC) {
return BISSC_LAST_ANGLE(&encoder_cfg_bissc);
} else if (m_encoder_type_now == ENCODER_TYPE_BISSC) {
} else if (m_encoder_type_now == ENCODER_TYPE_CUSTOM) {
if (m_enc_custom_read_deg) {
return m_enc_custom_read_deg();
} else {