From 3340214e6409a8b8ba156b0760eed766bffb7b71 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 11 Dec 2017 00:25:12 +0100 Subject: proto3 --- elegoo/elegoo.pb.h | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'elegoo/elegoo.pb.h') diff --git a/elegoo/elegoo.pb.h b/elegoo/elegoo.pb.h index 3510675..05d023c 100644 --- a/elegoo/elegoo.pb.h +++ b/elegoo/elegoo.pb.h @@ -1,5 +1,5 @@ /* Automatically generated nanopb header */ -/* Generated by nanopb-0.3.6 at Sun Aug 27 00:49:15 2017. */ +/* Generated by nanopb-0.3.9 at Mon Dec 11 00:21:17 2017. */ #ifndef PB_ELEGOO_PB_H_INCLUDED #define PB_ELEGOO_PB_H_INCLUDED @@ -16,33 +16,21 @@ extern "C" { /* Struct definitions */ typedef struct _Command { - bool has_SpeedR; int32_t SpeedR; - bool has_SpeedL; int32_t SpeedL; - bool has_Stop; bool Stop; - bool has_Direction; uint32_t Direction; - bool has_StopAfter; uint32_t StopAfter; /* @@protoc_insertion_point(struct:Command) */ } Command; typedef struct _Events { - bool has_Distance; uint32_t Distance; - bool has_Direction; int32_t Direction; - bool has_SensorR; bool SensorR; - bool has_SensorC; bool SensorC; - bool has_SensorL; bool SensorL; - bool has_KeyPress; uint32_t KeyPress; - bool has_Time; uint32_t Time; /* @@protoc_insertion_point(struct:Events) */ } Events; @@ -50,10 +38,10 @@ typedef struct _Events { /* Default values for struct fields */ /* Initializer values for message structs */ -#define Command_init_default {false, 0, false, 0, false, 0, false, 0, false, 0} -#define Events_init_default {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0} -#define Command_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0} -#define Events_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0} +#define Command_init_default {0, 0, 0, 0, 0} +#define Events_init_default {0, 0, 0, 0, 0, 0, 0} +#define Command_init_zero {0, 0, 0, 0, 0} +#define Events_init_zero {0, 0, 0, 0, 0, 0, 0} /* Field tags (for use in manual encoding/decoding) */ #define Command_SpeedR_tag 1 -- cgit v1.2.3