() -> (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.
|
||||
*/
|
||||
Result camInit();
|
||||
Result camInit(void);
|
||||
|
||||
/**
|
||||
* @brief Closes the cam 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.
|
||||
Result CAMU_StartCapture(CAMU_Port port);
|
||||
@ -543,10 +543,10 @@ Result CAMU_GetSuitableY2rStandardCoefficient(Y2R_StandardCoefficient* coefficie
|
||||
Result CAMU_PlayShutterSound(CAMU_ShutterSoundType sound);
|
||||
|
||||
///Initializes the camera driver.
|
||||
Result CAMU_DriverInitialize();
|
||||
Result CAMU_DriverInitialize(void);
|
||||
|
||||
///Finalizes the camera driver.
|
||||
Result CAMU_DriverFinalize();
|
||||
Result CAMU_DriverFinalize(void);
|
||||
|
||||
/**
|
||||
* @brief Gets the current activated camera.
|
||||
|
@ -7,7 +7,7 @@
|
||||
Handle camHandle;
|
||||
static bool initialized = false;
|
||||
|
||||
Result camInit() {
|
||||
Result camInit(void) {
|
||||
Result ret = 0;
|
||||
|
||||
if (initialized) return 0;
|
||||
@ -25,7 +25,7 @@ Result camInit() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Result camExit() {
|
||||
Result camExit(void) {
|
||||
Result ret = 0;
|
||||
|
||||
if (initialized)
|
||||
@ -678,7 +678,7 @@ Result CAMU_PlayShutterSound(CAMU_ShutterSoundType sound) {
|
||||
return cmdbuf[1];
|
||||
}
|
||||
|
||||
Result CAMU_DriverInitialize() {
|
||||
Result CAMU_DriverInitialize(void) {
|
||||
Result ret = 0;
|
||||
u32* cmdbuf = getThreadCommandBuffer();
|
||||
cmdbuf[0] = 0x00390000;
|
||||
@ -687,7 +687,7 @@ Result CAMU_DriverInitialize() {
|
||||
return cmdbuf[1];
|
||||
}
|
||||
|
||||
Result CAMU_DriverFinalize() {
|
||||
Result CAMU_DriverFinalize(void) {
|
||||
Result ret = 0;
|
||||
u32* cmdbuf = getThreadCommandBuffer();
|
||||
cmdbuf[0] = 0x003A0000;
|
||||
|
Loading…
Reference in New Issue
Block a user