Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to use new relays device #20

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Protobuf
Submodule Protobuf updated 5 files
+10 −13 arm.proto
+1 −0 core.proto
+3 −1 drive.proto
+27 −0 relays.proto
+16 −0 utils.proto
3 changes: 2 additions & 1 deletion core.pb.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.4.8 */
/* Generated by nanopb-0.4.9 */

#include "core.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
Expand All @@ -14,3 +14,4 @@ PB_BIND(Disconnect, Disconnect, AUTO)




9 changes: 5 additions & 4 deletions core.pb.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */
/* Generated by nanopb-0.4.9 */

#ifndef PB_CORE_PB_H_INCLUDED
#define PB_CORE_PB_H_INCLUDED
Expand All @@ -20,7 +20,8 @@ typedef enum _Device {
Device_ARM = 6,
Device_GRIPPER = 7,
Device_SCIENCE = 8,
Device_DRIVE = 9
Device_DRIVE = 9,
Device_RELAY = 10
} Device;

/* Struct definitions */
Expand All @@ -42,8 +43,8 @@ extern "C" {

/* Helper constants for enums */
#define _Device_MIN Device_DEVICE_UNDEFINED
#define _Device_MAX Device_DRIVE
#define _Device_ARRAYSIZE ((Device)(Device_DRIVE+1))
#define _Device_MAX Device_RELAY
#define _Device_ARRAYSIZE ((Device)(Device_RELAY+1))

#define Connect_sender_ENUMTYPE Device
#define Connect_receiver_ENUMTYPE Device
Expand Down