mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 08:12:41 +02:00
Introduce osMotorStart and osMotorStop macros
This commit is contained in:
1 parent
ea6feb802f
commit
fae8a68da9
2 files changed
+15
-12
No files matched your search
@@ -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