mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-10-14 03:30:54 +02:00
Audit-clean C standard across all 5 cb challenges: fix 3 functions over 8 exec lines; rebuild bins; update CB-0x03 and CB-0x05 guides; verify all guides against new bins
This commit is contained in:
1 parent
4ade66738f
commit
23b9f628ef
51 files changed
+3744
-7904
No files matched your search
@@ -10,5 +10,26 @@
|
||||
|
||||
#ifndef LOGIC_H
|
||||
#define LOGIC_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define STATE_ENV_ARMED 0x01
|
||||
#define STATE_ENV_AUTHORIZED 0x03
|
||||
#define STATE_ENV_LOCKOUT 0xFF
|
||||
|
||||
/**
|
||||
* @brief Initialize the strike logic, token, radio, and feedback.
|
||||
* @param void No parameters.
|
||||
* @return void No return value.
|
||||
*/
|
||||
void init_strike_controller(void);
|
||||
|
||||
/**
|
||||
* @brief Evaluate the environment and fire the payload when authorized.
|
||||
* @param void No parameters.
|
||||
* @return void No return value.
|
||||
*/
|
||||
void evaluate_environment(void);
|
||||
#endif
|
||||
|
||||
#endif // LOGIC_H
|
||||
Reference in new issue
Block a user