Skip to content

Commit

Permalink
AP_OSD: disable OSD parameter support on 1Mb boards
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per authored and peterbarker committed Sep 9, 2020
1 parent bbaaf7d commit eab127f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_OSD/AP_OSD.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#endif

#ifndef OSD_PARAM_ENABLED
#define OSD_PARAM_ENABLED HAL_WITH_OSD_BITMAP && !HAL_MINIMIZE_FEATURES
#define OSD_PARAM_ENABLED HAL_WITH_OSD_BITMAP && !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
#endif

class AP_OSD_Backend;
Expand Down

0 comments on commit eab127f

Please sign in to comment.