aboutsummaryrefslogtreecommitdiff
path: root/car/elegoo.pb.c
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-08-26 12:16:49 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-08-26 12:16:49 +0200
commit846afdd48d11d5bae24013f0cea969f6b6f47d49 (patch)
tree987bf0acd032eb44d1356089ad99d7dd1ac0df7b /car/elegoo.pb.c
parent6d2028a36d6d88bbe02b10ff14329d8f723cdd39 (diff)
Add timer
Diffstat (limited to 'car/elegoo.pb.c')
-rw-r--r--car/elegoo.pb.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/car/elegoo.pb.c b/car/elegoo.pb.c
index 12d123d..a4e7ad4 100644
--- a/car/elegoo.pb.c
+++ b/car/elegoo.pb.c
@@ -1,5 +1,5 @@
/* Automatically generated nanopb constant definitions */
-/* Generated by nanopb-0.3.6 at Tue Aug 22 00:23:16 2017. */
+/* Generated by nanopb-0.3.6 at Sat Aug 26 10:18:35 2017. */
#include "elegoo.pb.h"
@@ -10,22 +10,24 @@
-const pb_field_t Command_fields[6] = {
+const pb_field_t Command_fields[7] = {
PB_FIELD( 1, SINT32 , OPTIONAL, STATIC , FIRST, Command, SpeedR, SpeedR, 0),
PB_FIELD( 2, SINT32 , OPTIONAL, STATIC , OTHER, Command, SpeedL, SpeedR, 0),
PB_FIELD( 3, BOOL , OPTIONAL, STATIC , OTHER, Command, Stop, SpeedL, 0),
PB_FIELD( 4, BOOL , OPTIONAL, STATIC , OTHER, Command, Center, Stop, 0),
PB_FIELD( 5, SINT32 , OPTIONAL, STATIC , OTHER, Command, Direction, Center, 0),
+ PB_FIELD( 6, UINT32 , OPTIONAL, STATIC , OTHER, Command, StopAfter, Direction, 0),
PB_LAST_FIELD
};
-const pb_field_t Event_fields[7] = {
- PB_FIELD( 1, UINT32 , OPTIONAL, STATIC , FIRST, Event, Distance, Distance, 0),
- PB_FIELD( 2, SINT32 , OPTIONAL, STATIC , OTHER, Event, Direction, Distance, 0),
- PB_FIELD( 3, BOOL , OPTIONAL, STATIC , OTHER, Event, SensorR, Direction, 0),
- PB_FIELD( 4, BOOL , OPTIONAL, STATIC , OTHER, Event, SensorC, SensorR, 0),
- PB_FIELD( 5, BOOL , OPTIONAL, STATIC , OTHER, Event, SensorL, SensorC, 0),
- PB_FIELD( 6, UINT32 , OPTIONAL, STATIC , OTHER, Event, KeyPress, SensorL, 0),
+const pb_field_t Events_fields[8] = {
+ PB_FIELD( 1, UINT32 , OPTIONAL, STATIC , FIRST, Events, Distance, Distance, 0),
+ PB_FIELD( 2, SINT32 , OPTIONAL, STATIC , OTHER, Events, Direction, Distance, 0),
+ PB_FIELD( 3, BOOL , OPTIONAL, STATIC , OTHER, Events, SensorR, Direction, 0),
+ PB_FIELD( 4, BOOL , OPTIONAL, STATIC , OTHER, Events, SensorC, SensorR, 0),
+ PB_FIELD( 5, BOOL , OPTIONAL, STATIC , OTHER, Events, SensorL, SensorC, 0),
+ PB_FIELD( 6, UINT32 , OPTIONAL, STATIC , OTHER, Events, KeyPress, SensorL, 0),
+ PB_FIELD( 7, UINT32 , OPTIONAL, STATIC , OTHER, Events, Time, KeyPress, 0),
PB_LAST_FIELD
};