aboutsummaryrefslogtreecommitdiff
path: root/elegoo
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-12-11 01:03:54 +0100
committerDimitri Sokolyuk <demon@dim13.org>2017-12-11 01:03:54 +0100
commit7b489b6abcebff02b699cba8c956b6a582082d0d (patch)
tree78ccc25fb079bbe2d478f4e48acd60f95945dd0e /elegoo
parent8a17ac55a2ebfe7eb325522e8a4635b83a2f957b (diff)
add package name
Diffstat (limited to 'elegoo')
-rw-r--r--elegoo/elegoo.pb.c30
-rw-r--r--elegoo/elegoo.pb.h58
2 files changed, 44 insertions, 44 deletions
diff --git a/elegoo/elegoo.pb.c b/elegoo/elegoo.pb.c
index 3545021..1dd40bf 100644
--- a/elegoo/elegoo.pb.c
+++ b/elegoo/elegoo.pb.c
@@ -1,5 +1,5 @@
/* Automatically generated nanopb constant definitions */
-/* Generated by nanopb-0.3.9 at Mon Dec 11 00:21:17 2017. */
+/* Generated by nanopb-0.3.9 at Mon Dec 11 01:03:09 2017. */
#include "elegoo.pb.h"
@@ -10,23 +10,23 @@
-const pb_field_t Command_fields[6] = {
- PB_FIELD( 1, SINT32 , SINGULAR, STATIC , FIRST, Command, SpeedR, SpeedR, 0),
- PB_FIELD( 2, SINT32 , SINGULAR, STATIC , OTHER, Command, SpeedL, SpeedR, 0),
- PB_FIELD( 3, BOOL , SINGULAR, STATIC , OTHER, Command, Stop, SpeedL, 0),
- PB_FIELD( 4, UINT32 , SINGULAR, STATIC , OTHER, Command, Direction, Stop, 0),
- PB_FIELD( 5, UINT32 , SINGULAR, STATIC , OTHER, Command, StopAfter, Direction, 0),
+const pb_field_t elegoo_Command_fields[6] = {
+ PB_FIELD( 1, SINT32 , SINGULAR, STATIC , FIRST, elegoo_Command, SpeedR, SpeedR, 0),
+ PB_FIELD( 2, SINT32 , SINGULAR, STATIC , OTHER, elegoo_Command, SpeedL, SpeedR, 0),
+ PB_FIELD( 3, BOOL , SINGULAR, STATIC , OTHER, elegoo_Command, Stop, SpeedL, 0),
+ PB_FIELD( 4, UINT32 , SINGULAR, STATIC , OTHER, elegoo_Command, Direction, Stop, 0),
+ PB_FIELD( 5, UINT32 , SINGULAR, STATIC , OTHER, elegoo_Command, StopAfter, Direction, 0),
PB_LAST_FIELD
};
-const pb_field_t Events_fields[8] = {
- PB_FIELD( 1, UINT32 , SINGULAR, STATIC , FIRST, Events, Distance, Distance, 0),
- PB_FIELD( 2, SINT32 , SINGULAR, STATIC , OTHER, Events, Direction, Distance, 0),
- PB_FIELD( 3, BOOL , SINGULAR, STATIC , OTHER, Events, SensorR, Direction, 0),
- PB_FIELD( 4, BOOL , SINGULAR, STATIC , OTHER, Events, SensorC, SensorR, 0),
- PB_FIELD( 5, BOOL , SINGULAR, STATIC , OTHER, Events, SensorL, SensorC, 0),
- PB_FIELD( 6, UINT32 , SINGULAR, STATIC , OTHER, Events, KeyPress, SensorL, 0),
- PB_FIELD( 7, UINT32 , SINGULAR, STATIC , OTHER, Events, Time, KeyPress, 0),
+const pb_field_t elegoo_Events_fields[8] = {
+ PB_FIELD( 1, UINT32 , SINGULAR, STATIC , FIRST, elegoo_Events, Distance, Distance, 0),
+ PB_FIELD( 2, SINT32 , SINGULAR, STATIC , OTHER, elegoo_Events, Direction, Distance, 0),
+ PB_FIELD( 3, BOOL , SINGULAR, STATIC , OTHER, elegoo_Events, SensorR, Direction, 0),
+ PB_FIELD( 4, BOOL , SINGULAR, STATIC , OTHER, elegoo_Events, SensorC, SensorR, 0),
+ PB_FIELD( 5, BOOL , SINGULAR, STATIC , OTHER, elegoo_Events, SensorL, SensorC, 0),
+ PB_FIELD( 6, UINT32 , SINGULAR, STATIC , OTHER, elegoo_Events, KeyPress, SensorL, 0),
+ PB_FIELD( 7, UINT32 , SINGULAR, STATIC , OTHER, elegoo_Events, Time, KeyPress, 0),
PB_LAST_FIELD
};
diff --git a/elegoo/elegoo.pb.h b/elegoo/elegoo.pb.h
index 05d023c..7ba34f2 100644
--- a/elegoo/elegoo.pb.h
+++ b/elegoo/elegoo.pb.h
@@ -1,8 +1,8 @@
/* Automatically generated nanopb header */
-/* Generated by nanopb-0.3.9 at Mon Dec 11 00:21:17 2017. */
+/* Generated by nanopb-0.3.9 at Mon Dec 11 01:03:09 2017. */
-#ifndef PB_ELEGOO_PB_H_INCLUDED
-#define PB_ELEGOO_PB_H_INCLUDED
+#ifndef PB_ELEGOO_ELEGOO_PB_H_INCLUDED
+#define PB_ELEGOO_ELEGOO_PB_H_INCLUDED
#include <pb.h>
/* @@protoc_insertion_point(includes) */
@@ -15,16 +15,16 @@ extern "C" {
#endif
/* Struct definitions */
-typedef struct _Command {
+typedef struct _elegoo_Command {
int32_t SpeedR;
int32_t SpeedL;
bool Stop;
uint32_t Direction;
uint32_t StopAfter;
-/* @@protoc_insertion_point(struct:Command) */
-} Command;
+/* @@protoc_insertion_point(struct:elegoo_Command) */
+} elegoo_Command;
-typedef struct _Events {
+typedef struct _elegoo_Events {
uint32_t Distance;
int32_t Direction;
bool SensorR;
@@ -32,38 +32,38 @@ typedef struct _Events {
bool SensorL;
uint32_t KeyPress;
uint32_t Time;
-/* @@protoc_insertion_point(struct:Events) */
-} Events;
+/* @@protoc_insertion_point(struct:elegoo_Events) */
+} elegoo_Events;
/* Default values for struct fields */
/* Initializer values for message structs */
-#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}
+#define elegoo_Command_init_default {0, 0, 0, 0, 0}
+#define elegoo_Events_init_default {0, 0, 0, 0, 0, 0, 0}
+#define elegoo_Command_init_zero {0, 0, 0, 0, 0}
+#define elegoo_Events_init_zero {0, 0, 0, 0, 0, 0, 0}
/* Field tags (for use in manual encoding/decoding) */
-#define Command_SpeedR_tag 1
-#define Command_SpeedL_tag 2
-#define Command_Stop_tag 3
-#define Command_Direction_tag 4
-#define Command_StopAfter_tag 5
-#define Events_Distance_tag 1
-#define Events_Direction_tag 2
-#define Events_SensorR_tag 3
-#define Events_SensorC_tag 4
-#define Events_SensorL_tag 5
-#define Events_KeyPress_tag 6
-#define Events_Time_tag 7
+#define elegoo_Command_SpeedR_tag 1
+#define elegoo_Command_SpeedL_tag 2
+#define elegoo_Command_Stop_tag 3
+#define elegoo_Command_Direction_tag 4
+#define elegoo_Command_StopAfter_tag 5
+#define elegoo_Events_Distance_tag 1
+#define elegoo_Events_Direction_tag 2
+#define elegoo_Events_SensorR_tag 3
+#define elegoo_Events_SensorC_tag 4
+#define elegoo_Events_SensorL_tag 5
+#define elegoo_Events_KeyPress_tag 6
+#define elegoo_Events_Time_tag 7
/* Struct field encoding specification for nanopb */
-extern const pb_field_t Command_fields[6];
-extern const pb_field_t Events_fields[8];
+extern const pb_field_t elegoo_Command_fields[6];
+extern const pb_field_t elegoo_Events_fields[8];
/* Maximum encoded size of messages (where known) */
-#define Command_size 26
-#define Events_size 30
+#define elegoo_Command_size 26
+#define elegoo_Events_size 30
/* Message IDs (where set with "msgid" option) */
#ifdef PB_MSGID