fixed function prototypes
This commit is contained in:
@@ -28,12 +28,12 @@
|
|||||||
/**
|
/**
|
||||||
* Initialize the driver.
|
* Initialize the driver.
|
||||||
*/
|
*/
|
||||||
void DANCEPAD_Initialize();
|
void DANCEPAD_Initialize(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Perform any driver-related tasks. Must be called once every loop.
|
* Perform any driver-related tasks. Must be called once every loop.
|
||||||
*/
|
*/
|
||||||
void DANCEPAD_Tasks();
|
void DANCEPAD_Tasks(void);
|
||||||
|
|
||||||
#endif /* DANCEPAD_H */
|
#endif /* DANCEPAD_H */
|
||||||
|
|
||||||
|
|||||||
@@ -28,13 +28,13 @@
|
|||||||
/**
|
/**
|
||||||
* Initialize IO for reading the pad sensors.
|
* Initialize IO for reading the pad sensors.
|
||||||
*/
|
*/
|
||||||
void PADHAL_Initialize();
|
void PADHAL_Initialize(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the current state of all pad sensors.
|
* Get the current state of all pad sensors.
|
||||||
* @return the pad states, as the first 6 bits in a uint8_t.
|
* @return the pad states, as the first 6 bits in a uint8_t.
|
||||||
*/
|
*/
|
||||||
uint8_t PADHAL_GetButtons();
|
uint8_t PADHAL_GetButtons(void);
|
||||||
|
|
||||||
#endif /* PADHAL_H */
|
#endif /* PADHAL_H */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user