joaquimorg / uv-k5-firmware-custom

Open implementation of the Quansheng UV-K5/K6/5R firmware
https://www.joaquim.org
Apache License 2.0
98 stars 25 forks source link

Errors in Compile #50

Open auditor3d opened 3 weeks ago

auditor3d commented 3 weeks ago

Having a hard time compiling the firmware in Codespace. Not rocketscience. But when I enable the exact features of egzumers firmware in that makefile on the fork here I get errors about VOX and messaging.

I am looking to compile the same features of the egzumer firmware with the added messaging feature. does a release already exist?

Thanks!

bikejoco commented 3 weeks ago

I also get an error by comiling my one Firmware.

app/app.c: In function 'APP_Update':
app/app.c:959:33: error: too few arguments to function 'BK4819_EnableVox'
  959 |                                 BK4819_EnableVox(gEeprom.VOX1_THRESHOLD, gEeprom.VOX0_THRESHOLD);
      |                                 ^~~~~~~~~~~~~~~~
In file included from app/app.c:56:
./driver/bk4819.h:83:10: note: declared here
   83 | void     BK4819_EnableVox(uint16_t VoxEnableThreshold, uint16_t VoxDisableThreshold, uint8_t VoxDelay);
      |          ^~~~~~~~~~~~~~~~
**make: *** [Makefile:472: _build/app/app.o] Error 1**

Did you have a idea what's wrong? Thanks!