mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-18 13:55:16 +03:00
Settings generator: add support for the native C type: bool
This commit is contained in:
parent
1ba891d6e1
commit
c853269e73
1 changed files with 2 additions and 0 deletions
|
@ -971,6 +971,8 @@ class Generator
|
|||
types.each do |idx, type|
|
||||
member = members[idx]
|
||||
case type
|
||||
when /^bool/
|
||||
typ = "bool"
|
||||
when /^int8_t/ # {aka signed char}"
|
||||
typ = "int8_t"
|
||||
when /^uint8_t/ # {aka unsigned char}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue