Closed yel-best closed 5 months ago
But when I comment out the code about MB_RETURN_ON_FALSE, it compiles normally. Is it because of compatibility issues?
// MB_RETURN_ON_FALSE((master_handler != NULL), ESP_ERR_INVALID_STATE, TAG, // "mb controller initialization fail."); // MB_RETURN_ON_FALSE((err == ESP_OK), ESP_ERR_INVALID_STATE, TAG, // "mb controller initialization fail, returns(0x%x).", // (uint32_t)err);
Printed type does not match actual type
error: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Werror=format=]
Printed type does not match actual type
error: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Werror=format=]
yes, this question has been answered by the modbus components team. Thank you very much for your concern, thanks
When I add esp-modbus to the mesh_lite_local_control example of mesh-lite, the following error occurs during compilation. Is it because of incompatibility?