mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-10-12 02:37:11 +02:00
Refactor CB 3, 4, 5 with complex modular source code and compiled UF2/BIN files
This commit is contained in:
1 parent
0b5353ac50
commit
95ab2e0e8d
24 files changed
+584
-62
No files matched your search
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* @file state_machine.h
|
||||
* @brief Operation Broken Wing Firmware
|
||||
* @author Kevin Thomas
|
||||
* @date 2026
|
||||
*
|
||||
* MIT License
|
||||
* Copyright (c) 2026 Kevin Thomas
|
||||
*/
|
||||
|
||||
#ifndef STATE_MACHINE_H
|
||||
#define STATE_MACHINE_H
|
||||
#define STATE_IDLE 0
|
||||
#define STATE_ARMED 1
|
||||
typedef struct {
|
||||
int current_state;
|
||||
int current_altitude;
|
||||
} drone_state_t;
|
||||
extern drone_state_t drone;
|
||||
void process_payload_state(void);
|
||||
#endif
|
||||
Reference in new issue
Block a user