void dump_cs(const char *name, struct cs *cs) { printf_P(PSTR("%s cons=% .5ld fcons=% .5ld err=% .5ld " "in=% .5ld out=% .5ld\r\n"), name, cs_get_consign(cs), cs_get_filtered_consign(cs), cs_get_error(cs), cs_get_filtered_feedback(cs), cs_get_out(cs)); }
void dump_cs_debug(const char *name, struct cs *cs) { DEBUG(E_USER_CS, "%s cons=% .5ld fcons=% .5ld err=% .5ld " "in=% .5ld out=% .5ld", name, cs_get_consign(cs), cs_get_filtered_consign(cs), cs_get_error(cs), cs_get_filtered_feedback(cs), cs_get_out(cs)); }
/** function to be called periodically */ void bd_manage_from_cs(struct blocking_detection * bd, struct cs *cs) { bd_manage_from_pos_cmd(bd, cs_get_filtered_feedback(cs), cs_get_out(cs)); }