egzumer / uv-k5-firmware-custom

A merge between https://github.com/OneOfEleven/uv-k5-firmware-custom and https://github.com/fagci/uv-k5-firmware-fagci-mod
Apache License 2.0
1.33k stars 427 forks source link

Missing include of stdbool.h in app/flashlight.c #560

Open zardoz99 opened 6 months ago

zardoz99 commented 6 months ago

I was trying to compile up the code under Raspberry Pi OS 64-bit on a Raspberry Pi 4.

The compiler complained that "bool" was not defined in flashlight.c and suggested including stdbool.h.

I did this, and the compilation completed.

Insert "#include " at line 3 of app/flashlight.c to fix this issue.