Introduce osMotorStart and osMotorStop macros

This commit is contained in:
Ryan Dwyer committed 2021-03-25 20:21:53 +10:00
1 parent ea6feb802f
commit fae8a68da9
2 files changed
+15 -12

No files matched your search

+3
View File
@@ -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) \
{ \