blob: 15a402e77f8e8f949555d5062844697b906bb73f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef PR_OS_MOTOR_H
#define PR_OS_MOTOR_H
#include <libultraship/libultra/motor.h>
#if 0
#include "ultratypes.h"
#include "os_pfs.h"
#include "os_message.h"
#define MOTOR_START 1
#define MOTOR_STOP 0
#define osMotorStart(x) __osMotorAccess((x), MOTOR_START)
#define osMotorStop(x) __osMotorAccess((x), MOTOR_STOP)
s32 __osMotorAccess(OSPfs* pfs, s32 flag);
s32 osMotorInit(OSMesgQueue* mq, OSPfs* pfs, s32 channel);
#endif // 0
#endif
|