Closed Digital256 closed 1 year ago
I have a project where I don't need OSD. When I disable all the OSD references in the target files I get an error compiling the code.
Compile error appears in src/main/rx/rx.c undefined reference to 'osdConfig_System'
The src/main/rx/rx.c code includes this.
The src/main/rx/crssf.c code includes this.
Also src/main/rx/crssf.c has code using OSD for calculations.
Recommended Solution:
I'm using the latest code from GitHub.
@Digital256 you are welcome to propose a pull request that fixes that. It's an open-source and seems like you know what you are doing :)
Will do.
I have a project where I don't need OSD. When I disable all the OSD references in the target files I get an error compiling the code.
Compile error appears in src/main/rx/rx.c undefined reference to 'osdConfig_System'
The src/main/rx/rx.c code includes this.
include "rx/crsf.h"
The src/main/rx/crssf.c code includes this.
include "io/osd.h"
Also src/main/rx/crssf.c has code using OSD for calculations.
Recommended Solution:
ifdef USE_OSD
I'm using the latest code from GitHub.