Latest toolset gives build errors for lib\subghz\protocols\x10.c
jamisonderek opened this issue · 1 comments
CC lib\subghz\environment.c
lib\subghz\protocols\x10.c:76:18: error: initialization of 'SubGhzProtocolStatus (*)(void *, FlipperFormat *, SubGhzRadioPreset )' from incompatible pointer type '_Bool ()(void *, FlipperFormat *, SubGhzRadioPreset )' [-Werror=incompatible-pointer-types]
76 | .serialize = subghz_protocol_decoder_x10_serialize,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib\subghz\protocols\x10.c:76:18: note: (near initialization for 'subghz_protocol_x10_decoder.serialize')
lib\subghz\protocols\x10.c:77:20: error: initialization of 'SubGhzProtocolStatus ()(void *, FlipperFormat )' from incompatible pointer type '_Bool ()(void *, FlipperFormat *)' [-Werror=incompatible-pointer-types]
77 | .deserialize = subghz_protocol_decoder_x10_deserialize,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib\subghz\protocols\x10.c:77:20: CC lib\subghz\receiver.c
note: (near initialization for 'subghz_protocol_x10_decoder.deserialize')
I confirmed the latest official firmware can deserialize and serialize an X10 remote.