From 2948ea635f820e8c66f3491142d539527ca542ac Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 20 Aug 2022 11:04:44 -0400 Subject: [PATCH] added payload_command --- cubesatsim/cubesatsim.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cubesatsim/cubesatsim.h b/cubesatsim/cubesatsim.h index 6a95b10f..9886217e 100644 --- a/cubesatsim/cubesatsim.h +++ b/cubesatsim/cubesatsim.h @@ -112,6 +112,9 @@ #define PROMPT_HELP 6 #define PROMPT_RESTART 7 +#define PAYLOAD_QUERY 1 +#define PAYLOAD_RESET 2 +#define PAYLOAD_CLEAR 3 volatile int prompt = false; char serial_string[128]; @@ -322,6 +325,7 @@ int buffer_size; long micro_timer; int ready = FALSE; bool cw_stop = false; +int payload_command = false; #define PRESSED 0 #define HELD 0