Hi,
I commented some unused variables and local typedef (which for some reason default configured PlatformIO treats as error, when they are needed they can be always brought back)
I guess that the 0 in the switch is supposed to work as a sanity check, but is it necessary? Again it got treated as an error for me, so that's why I replaced it with default, which also removed the warnings about missing enum members because the auto treated them as such.
Hi @haberturdeur, thanks for fixing these!
A small request: could you please simply remove unused variables/local typedefs instead of commenting them out? The rest looks good!
Hi, I commented some unused variables and local typedef (which for some reason default configured PlatformIO treats as error, when they are needed they can be always brought back)
I guess that the
0
in theswitch
is supposed to work as a sanity check, but is it necessary? Again it got treated as an error for me, so that's why I replaced it withdefault
, which also removed the warnings about missingenum
members because theauto
treated them as such.