- use int instead of bool
This commit is contained in:
@@ -41,7 +41,7 @@ typedef struct {
|
||||
hal_bit_t *on_home_neg;
|
||||
hal_bit_t *on_home_pos;
|
||||
|
||||
bool do_init;
|
||||
int do_init;
|
||||
|
||||
int raw_shift;
|
||||
uint32_t raw_mask;
|
||||
@@ -53,6 +53,6 @@ typedef struct {
|
||||
} lcec_class_enc_data_t;
|
||||
|
||||
int class_enc_init(struct lcec_slave *slave, lcec_class_enc_data_t *hal_data, int raw_bits, const char *pfx);
|
||||
void class_enc_update(lcec_class_enc_data_t *hal_data, uint64_t pprev, double scale, uint32_t raw, uint32_t ext_latch_raw, bool ext_latch_ena);
|
||||
void class_enc_update(lcec_class_enc_data_t *hal_data, uint64_t pprev, double scale, uint32_t raw, uint32_t ext_latch_raw, int ext_latch_ena);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user