Code: Select all
error: invalid conversion from 'uint32_t' {aka 'long unsigned int'} to 'esp_zb_app_signal_type_t' [-fpermissive] 353 | esp_zb_app_signal_type_t sig_type = *p_sg_p;
Doesn't compile:
Code: Select all
void esp_zb_app_signal_handler(esp_zb_app_signal_t *signal_struct)
{
uint32_t *p_sg_p = signal_struct->p_app_signal;
esp_err_t err_status = signal_struct->esp_err_status;
esp_zb_app_signal_type_t sig_type = *p_sg_p;
esp_zb_zdo_signal_device_annce_params_t *dev_annce_params = NULL;
Code: Select all
void esp_zb_app_signal_handler(esp_zb_app_signal_t *signal_struct)
{
uint32_t *p_sg_p = signal_struct->p_app_signal;
esp_err_t err_status = signal_struct->esp_err_status;
esp_zb_app_signal_type_t sig_type = *p_sg_p;
esp_zb_zdo_signal_device_annce_params_t *dev_annce_params = NULL;
Code: Select all
typedef uint32_t (*esp_crc32_le_t)(uint32_t crc, uint8_t const *buf, uint32_t len);
Have I stuffed up somewhere and it is bringing in additional header files that is causing these compile issues?