mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-10-13 11:17:49 +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,7 +10,25 @@
|
||||
|
||||
#ifndef PWM_CTRL_H
|
||||
#define PWM_CTRL_H
|
||||
/**
|
||||
* @brief Initialize the servo PWM output.
|
||||
*
|
||||
* @param void No parameters.
|
||||
* @return void
|
||||
*/
|
||||
void init_servo(void);
|
||||
/**
|
||||
* @brief Deploy the payload via servo actuation.
|
||||
*
|
||||
* @param void No parameters.
|
||||
* @return void
|
||||
*/
|
||||
void deploy_payload(void);
|
||||
/**
|
||||
* @brief Lock the payload at the given altitude.
|
||||
*
|
||||
* @param altitude Altitude at which to lock the payload.
|
||||
* @return void
|
||||
*/
|
||||
void lock_payload(int altitude);
|
||||
#endif
|
||||
Reference in new issue
Block a user