() -> (void), again
This commit is contained in:
parent
62aa4d8ab0
commit
9bf546da45
@ -286,14 +286,14 @@ typedef struct {
|
|||||||
*
|
*
|
||||||
* This will internally get the handle of the service, and on success call CAMU_DriverInitialize.
|
* This will internally get the handle of the service, and on success call CAMU_DriverInitialize.
|
||||||
*/
|
*/
|
||||||
Result camInit();
|
Result camInit(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Closes the cam service.
|
* @brief Closes the cam service.
|
||||||
*
|
*
|
||||||
* This will internally call CAMU_DriverFinalize and close the handle of the service.
|
* This will internally call CAMU_DriverFinalize and close the handle of the service.
|
||||||
*/
|
*/
|
||||||
Result camExit();
|
Result camExit(void);
|
||||||
|
|
||||||
/// Begins capture on the specified camera port.
|
/// Begins capture on the specified camera port.
|
||||||
Result CAMU_StartCapture(CAMU_Port port);
|
Result CAMU_StartCapture(CAMU_Port port);
|
||||||
@ -543,10 +543,10 @@ Result CAMU_GetSuitableY2rStandardCoefficient(Y2R_StandardCoefficient* coefficie
|
|||||||
Result CAMU_PlayShutterSound(CAMU_ShutterSoundType sound);
|
Result CAMU_PlayShutterSound(CAMU_ShutterSoundType sound);
|
||||||
|
|
||||||
///Initializes the camera driver.
|
///Initializes the camera driver.
|
||||||
Result CAMU_DriverInitialize();
|
Result CAMU_DriverInitialize(void);
|
||||||
|
|
||||||
///Finalizes the camera driver.
|
///Finalizes the camera driver.
|
||||||
Result CAMU_DriverFinalize();
|
Result CAMU_DriverFinalize(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Gets the current activated camera.
|
* @brief Gets the current activated camera.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
Handle camHandle;
|
Handle camHandle;
|
||||||
static bool initialized = false;
|
static bool initialized = false;
|
||||||
|
|
||||||
Result camInit() {
|
Result camInit(void) {
|
||||||
Result ret = 0;
|
Result ret = 0;
|
||||||
|
|
||||||
if (initialized) return 0;
|
if (initialized) return 0;
|
||||||
@ -25,7 +25,7 @@ Result camInit() {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result camExit() {
|
Result camExit(void) {
|
||||||
Result ret = 0;
|
Result ret = 0;
|
||||||
|
|
||||||
if (initialized)
|
if (initialized)
|
||||||
@ -678,7 +678,7 @@ Result CAMU_PlayShutterSound(CAMU_ShutterSoundType sound) {
|
|||||||
return cmdbuf[1];
|
return cmdbuf[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
Result CAMU_DriverInitialize() {
|
Result CAMU_DriverInitialize(void) {
|
||||||
Result ret = 0;
|
Result ret = 0;
|
||||||
u32* cmdbuf = getThreadCommandBuffer();
|
u32* cmdbuf = getThreadCommandBuffer();
|
||||||
cmdbuf[0] = 0x00390000;
|
cmdbuf[0] = 0x00390000;
|
||||||
@ -687,7 +687,7 @@ Result CAMU_DriverInitialize() {
|
|||||||
return cmdbuf[1];
|
return cmdbuf[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
Result CAMU_DriverFinalize() {
|
Result CAMU_DriverFinalize(void) {
|
||||||
Result ret = 0;
|
Result ret = 0;
|
||||||
u32* cmdbuf = getThreadCommandBuffer();
|
u32* cmdbuf = getThreadCommandBuffer();
|
||||||
cmdbuf[0] = 0x003A0000;
|
cmdbuf[0] = 0x003A0000;
|
||||||
|
Loading…
Reference in New Issue
Block a user