Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
deltaflight
deltaflight
Commits
73f222c4
Unverified
Commit
73f222c4
authored
Apr 20, 2021
by
Michel Pastor
Committed by
GitHub
Apr 20, 2021
Browse files
OSD: Fix bug in font metadata handling (#6857)
parent
0cfab10c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/drivers/display_font_metadata.h
View file @
73f222c4
...
...
@@ -10,12 +10,11 @@ typedef struct displayFontMetadata_s {
uint16_t
charCount
;
}
displayFontMetadata_t
;
// 'I', 'N', 'A', 'V'
, 1
// 'I', 'N', 'A', 'V'
#define FONT_CHR_IS_METADATA(chr) ((chr)->data[0] == 'I' && \
(chr)->data[1] == 'N' && \
(chr)->data[2] == 'A' && \
(chr)->data[3] == 'V' && \
(chr)->data[4] == 1)
(chr)->data[3] == 'V')
#define FONT_METADATA_CHR_INDEX 255
// Used for runtime detection of display drivers that might
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment