Skip to content

Commit

Permalink
resolve emuflight#555; DJIwarning only if OSD defined
Browse files Browse the repository at this point in the history
* fixes for FC without OSD
  • Loading branch information
nerdCopter committed May 8, 2021
1 parent f173450 commit 0e0b3ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/interface/msp.c
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ bool mspProcessOutCommand(uint8_t cmdMSP, sbuf_t *dst) {
break;
case MSP_NAME: {
// Show warning for DJI OSD instead of pilot name
// works if osd warnings enabled, osd_warn_dji is on and usb is not connected
// works if osd warnings enabled, osd_warn_dji is on
#ifdef USE_OSD
if (osdWarnGetState(OSD_WARNING_DJI)) {
sbufWriteString(dst, djiWarningBuffer);
Expand Down

0 comments on commit 0e0b3ba

Please sign in to comment.