We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug As discussed on discord, there is an OSD depency in the MSP module that prevents to compile emuflight without the OSD feature.
To Reproduce add to \src\main\target<TARGET>\target.h
#undef USE_OSD
Expected behavior Compile error on MSP.c
if (osdWarnGetState(OSD_WARNING_DJI)) { sbufWriteString(dst, djiWarningBuffer); break; }
I managed to make it do with the following hack:
#ifdef USE_OSD if (osdWarnGetState(OSD_WARNING_DJI)) { sbufWriteString(dst, djiWarningBuffer); break; } #endif
Additional context My old DTFc / DOGE F3 flight controller does not have OSD. Current Master does fit nicely in the memory once OSD is removed.
The text was updated successfully, but these errors were encountered:
resolve emuflight#555; DJIwarning only if OSD defined
f173450
* fixes for FC without OSD
0e0b3ba
No branches or pull requests
Describe the bug
As discussed on discord, there is an OSD depency in the MSP module that prevents to compile emuflight without the OSD feature.
To Reproduce
add to \src\main\target<TARGET>\target.h
Expected behavior
Compile error on MSP.c
I managed to make it do with the following hack:
Additional context
My old DTFc / DOGE F3 flight controller does not have OSD. Current Master does fit nicely in the memory once OSD is removed.
The text was updated successfully, but these errors were encountered: