added requested comments

This commit is contained in:
Thomas Solatges 2022-12-02 11:29:18 +01:00
parent adeb2a4987
commit fa01773ab6
1 changed files with 3 additions and 3 deletions

View File

@ -155,9 +155,9 @@ typedef struct {
float s_offset;
float c_offset;
float filter_constant;
float phase_correction;
float sph;
float cph;
float phase_correction; //phase angle correction when encoder outputs sin(anle)/cos(angle+pase_correction)
float sph; // sin of the phase_correction angle
float cph; // cos of the phase_correction angle
ENCSINCOS_state state;
} ENCSINCOS_config_t;