Introduce osMotorStart and osMotorStop macros

This commit is contained in:
Ryan Dwyer
2021-03-25 20:21:53 +10:00
parent ea6feb802f
commit fae8a68da9
2 changed files with 15 additions and 12 deletions
+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) \
{ \