mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-24 08:41:21 -04:00
Introduce osMotorStart and osMotorStop macros
This commit is contained in:
@@ -116,6 +116,9 @@ typedef struct {
|
||||
*
|
||||
*/
|
||||
|
||||
#define osMotorStop(pfs) osMotorAccess(pfs, 0)
|
||||
#define osMotorStart(pfs) osMotorAccess(pfs, 1)
|
||||
|
||||
#define SET_ACTIVEBANK_TO_ZERO \
|
||||
if (pfs->activebank != 0) \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user