William Ledda
2018-02-08 16:54:20 UTC
Dear developers,
I was looking into the code of the stable-1.5 branch and It seems there is some bugs in fsm_slave. As far as I understand from the documentation of the following functions:
* ec_fsm_slave_action_process_sdo,
* ec_fsm_slave_action_process_reg,
* ec_fsm_slave_action_process_foe,
* ec_fsm_slave_action_process_soe
they should return 1 in case of success (i.e. request processed) 0 otherwise. They return instead 1 even in case of requests are aborted. I see new commits on the sable version branch but nothing about this. In the default branch they have been instead fixed long time ago (2597:0e145bb05859 2014-11-12 14:42 ?)
Which is the correct one?
Kind regards
William
I was looking into the code of the stable-1.5 branch and It seems there is some bugs in fsm_slave. As far as I understand from the documentation of the following functions:
* ec_fsm_slave_action_process_sdo,
* ec_fsm_slave_action_process_reg,
* ec_fsm_slave_action_process_foe,
* ec_fsm_slave_action_process_soe
they should return 1 in case of success (i.e. request processed) 0 otherwise. They return instead 1 even in case of requests are aborted. I see new commits on the sable version branch but nothing about this. In the default branch they have been instead fixed long time ago (2597:0e145bb05859 2014-11-12 14:42 ?)
Which is the correct one?
Kind regards
William