Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译错误SetDeviceConfigCallback #80

Open
wangzc17 opened this issue Dec 18, 2024 · 1 comment
Open

编译错误SetDeviceConfigCallback #80

wangzc17 opened this issue Dec 18, 2024 · 1 comment

Comments

@wangzc17
Copy link

IOTA_SetDeviceConfigCallback传入回调函数带的参数与SetDeviceConfigCallback的回调函数带的参数不一致

typedef int (*DEVICE_CONFIG_CALLBACK_HANDLER)(JSON *cfg);
void SetDeviceConfigCallback(DEVICE_CONFIG_CALLBACK_HANDLER callbackHandler);

typedef int (*PFN_DEVICE_CONFIG_CALLBACK_HANDLER)(JSON *cfg, char *description);
HW_API_FUNC HW_VOID IOTA_SetDeviceConfigCallback(PFN_DEVICE_CONFIG_CALLBACK_HANDLER callbackHandler);

@louiscrazy
Copy link
Collaborator

louiscrazy commented Dec 18, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants