diff --git a/core/embed/bootloader/protob/messages.pb.c b/core/embed/bootloader/protob/messages.pb.c index 76f60b935c..e39946e5e1 100644 --- a/core/embed/bootloader/protob/messages.pb.c +++ b/core/embed/bootloader/protob/messages.pb.c @@ -1,5 +1,5 @@ /* Automatically generated nanopb constant definitions */ -/* Generated by nanopb-0.4.1 */ +/* Generated by nanopb-0.4.3 */ #include "messages.pb.h" #if PB_PROTO_HEADER_VERSION != 40 diff --git a/core/embed/bootloader/protob/messages.pb.h b/core/embed/bootloader/protob/messages.pb.h index e3d94d004d..6591fec043 100644 --- a/core/embed/bootloader/protob/messages.pb.h +++ b/core/embed/bootloader/protob/messages.pb.h @@ -1,5 +1,5 @@ /* Automatically generated nanopb header */ -/* Generated by nanopb-0.4.1 */ +/* Generated by nanopb-0.4.3 */ #ifndef 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. #endif -#ifdef __cplusplus -extern "C" { -#endif - /* Enum definitions */ typedef enum _MessageType { MessageType_MessageType_Initialize = 0, @@ -147,6 +143,10 @@ typedef struct _Success { #define _ButtonRequestType_ARRAYSIZE ((ButtonRequestType)(ButtonRequestType_ButtonRequest_Other+1)) +#ifdef __cplusplus +extern "C" { +#endif + /* Initializer values for message structs */ #define Initialize_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, STRING, message, 2) #define Failure_CALLBACK NULL -#define Failure_DEFAULT NULL +#define Failure_DEFAULT (const pb_byte_t*)"\x08\x01\x00" #define ButtonRequest_FIELDLIST(X, a) \ X(a, STATIC, OPTIONAL, UENUM, code, 1) #define ButtonRequest_CALLBACK NULL -#define ButtonRequest_DEFAULT NULL +#define ButtonRequest_DEFAULT (const pb_byte_t*)"\x08\x01\x00" #define ButtonAck_FIELDLIST(X, a) \