mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-29 21:38:47 +02:00
Verify struct sizing at build time.
This commit is contained in:
@@ -142,6 +142,7 @@
|
||||
name: Request Header
|
||||
description: Packet format for inbound data.
|
||||
type: struct
|
||||
struct_length: 3
|
||||
struct_members: [
|
||||
{
|
||||
type: token
|
||||
@@ -158,6 +159,7 @@
|
||||
name: Response Header
|
||||
description: Packet format for inbound data.
|
||||
type: struct
|
||||
struct_length: 4
|
||||
struct_members: [
|
||||
{
|
||||
type: token
|
||||
|
||||
@@ -83,6 +83,7 @@
|
||||
name: Broadcast Header
|
||||
description: Packet format for broadcast messages.
|
||||
type: struct
|
||||
struct_length: 4
|
||||
struct_members: [
|
||||
{
|
||||
type: token
|
||||
@@ -240,6 +241,7 @@
|
||||
Retrieves the set of identifying information for the board.
|
||||
'''
|
||||
return_type: struct
|
||||
return_struct_length: 10
|
||||
return_struct_members: [
|
||||
{
|
||||
type: u16
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
define: GET_KEYMAP_KEYCODE
|
||||
description: TODO
|
||||
request_type: struct
|
||||
request_struct_length: 3
|
||||
request_struct_members: [
|
||||
{
|
||||
type: u8
|
||||
@@ -61,6 +62,7 @@
|
||||
define: SET_KEYMAP_KEYCODE
|
||||
description: TODO
|
||||
request_type: struct
|
||||
request_struct_length: 5
|
||||
request_struct_members: [
|
||||
{
|
||||
type: u8
|
||||
|
||||
Reference in New Issue
Block a user