mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 15:28:10 +00:00
chore(core/bootloader): regenerate messages with nanopb 0.4.3
This commit is contained in:
parent
71058eedd5
commit
649e31cef0
@ -1,5 +1,5 @@
|
|||||||
/* Automatically generated nanopb constant definitions */
|
/* Automatically generated nanopb constant definitions */
|
||||||
/* Generated by nanopb-0.4.1 */
|
/* Generated by nanopb-0.4.3 */
|
||||||
|
|
||||||
#include "messages.pb.h"
|
#include "messages.pb.h"
|
||||||
#if PB_PROTO_HEADER_VERSION != 40
|
#if PB_PROTO_HEADER_VERSION != 40
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Automatically generated nanopb header */
|
/* Automatically generated nanopb header */
|
||||||
/* Generated by nanopb-0.4.1 */
|
/* Generated by nanopb-0.4.3 */
|
||||||
|
|
||||||
#ifndef PB_MESSAGES_PB_H_INCLUDED
|
#ifndef PB_MESSAGES_PB_H_INCLUDED
|
||||||
#define PB_MESSAGES_PB_H_INCLUDED
|
#define PB_MESSAGES_PB_H_INCLUDED
|
||||||
@ -9,10 +9,6 @@
|
|||||||
#error Regenerate this file with the current version of nanopb generator.
|
#error Regenerate this file with the current version of nanopb generator.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Enum definitions */
|
/* Enum definitions */
|
||||||
typedef enum _MessageType {
|
typedef enum _MessageType {
|
||||||
MessageType_MessageType_Initialize = 0,
|
MessageType_MessageType_Initialize = 0,
|
||||||
@ -147,6 +143,10 @@ typedef struct _Success {
|
|||||||
#define _ButtonRequestType_ARRAYSIZE ((ButtonRequestType)(ButtonRequestType_ButtonRequest_Other+1))
|
#define _ButtonRequestType_ARRAYSIZE ((ButtonRequestType)(ButtonRequestType_ButtonRequest_Other+1))
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Initializer values for message structs */
|
/* Initializer values for message structs */
|
||||||
#define Initialize_init_default {0}
|
#define Initialize_init_default {0}
|
||||||
#define GetFeatures_init_default {0}
|
#define GetFeatures_init_default {0}
|
||||||
@ -246,12 +246,12 @@ X(a, STATIC, OPTIONAL, STRING, message, 1)
|
|||||||
X(a, STATIC, OPTIONAL, UENUM, code, 1) \
|
X(a, STATIC, OPTIONAL, UENUM, code, 1) \
|
||||||
X(a, STATIC, OPTIONAL, STRING, message, 2)
|
X(a, STATIC, OPTIONAL, STRING, message, 2)
|
||||||
#define Failure_CALLBACK NULL
|
#define Failure_CALLBACK NULL
|
||||||
#define Failure_DEFAULT NULL
|
#define Failure_DEFAULT (const pb_byte_t*)"\x08\x01\x00"
|
||||||
|
|
||||||
#define ButtonRequest_FIELDLIST(X, a) \
|
#define ButtonRequest_FIELDLIST(X, a) \
|
||||||
X(a, STATIC, OPTIONAL, UENUM, code, 1)
|
X(a, STATIC, OPTIONAL, UENUM, code, 1)
|
||||||
#define ButtonRequest_CALLBACK NULL
|
#define ButtonRequest_CALLBACK NULL
|
||||||
#define ButtonRequest_DEFAULT NULL
|
#define ButtonRequest_DEFAULT (const pb_byte_t*)"\x08\x01\x00"
|
||||||
|
|
||||||
#define ButtonAck_FIELDLIST(X, a) \
|
#define ButtonAck_FIELDLIST(X, a) \
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user