fixed aime LED firmware

This commit is contained in:
2024-03-17 14:19:56 +01:00
parent 774a639bb7
commit 47a65e5e51
3 changed files with 28 additions and 21 deletions

View File

@ -25,6 +25,13 @@ struct sg_res_header {
uint8_t payload_len;
};
/* struct to save the version string with its length
to fix NUL terminator issues */
struct version_info {
const char *version;
uint8_t length;
};
typedef HRESULT (*sg_dispatch_fn_t)(
void *ctx,
const void *req,