Fixed prefix and parameters declaration
This commit is contained in:
parent
0c11529000
commit
14005eee52
@ -24,44 +24,44 @@ Handle nfcGetSessionHandle(void);
|
|||||||
* @brief Initialize NFC module.
|
* @brief Initialize NFC module.
|
||||||
* @param type Unknown, can be either value 0x1 or 0x2.
|
* @param type Unknown, can be either value 0x1 or 0x2.
|
||||||
*/
|
*/
|
||||||
Result nfc_Initialize(u8 type);
|
Result NFC_Initialize(u8 type);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Shutdown NFC module.
|
* @brief Shutdown NFC module.
|
||||||
* @param type Unknown.
|
* @param type Unknown.
|
||||||
*/
|
*/
|
||||||
Result nfc_Shutdown(u8 type);
|
Result NFC_Shutdown(u8 type);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief O3DS starts communication with the O3DS NFC hardware. N3DS just checks state for this command.
|
* @brief O3DS starts communication with the O3DS NFC hardware. N3DS just checks state for this command.
|
||||||
*/
|
*/
|
||||||
Result nfc_StartCommunication();
|
Result NFC_StartCommunication(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief O3DS stops communication with the O3DS NFC hardware. N3DS just uses code used internally by NFC:StopTagScanning for this.
|
* @brief O3DS stops communication with the O3DS NFC hardware. N3DS just uses code used internally by NFC:StopTagScanning for this.
|
||||||
*/
|
*/
|
||||||
Result nfc_StopCommunication();
|
Result NFC_StopCommunication(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Starts scanning for NFC tags.
|
* @brief Starts scanning for NFC tags.
|
||||||
* @param unknown Unknown.
|
* @param unknown Unknown.
|
||||||
*/
|
*/
|
||||||
Result nfc_StartTagScanning(u16 unknown);
|
Result NFC_StartTagScanning(u16 unknown);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Stops scanning for NFC tags.
|
* @brief Stops scanning for NFC tags.
|
||||||
*/
|
*/
|
||||||
Result nfc_StopTagScanning();
|
Result NFC_StopTagScanning(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Read Amiibo NFC data and load in memory.
|
* @brief Read Amiibo NFC data and load in memory.
|
||||||
*/
|
*/
|
||||||
Result nfc_LoadAmiiboData();
|
Result NFC_LoadAmiiboData(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief If the tagstate is valid, it then sets the current tagstate to 3.
|
* @brief If the tagstate is valid, it then sets the current tagstate to 3.
|
||||||
*/
|
*/
|
||||||
Result nfc_ResetTagScanState();
|
Result NFC_ResetTagScanState(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Returns the current NFC tag state.
|
* @brief Returns the current NFC tag state.
|
||||||
@ -75,5 +75,5 @@ Result nfc_ResetTagScanState();
|
|||||||
* - 4: NFC tag is now out of range, where the NFC tag was previously in range. This occurs automatically without using any NFC service commands. Once this state is entered, it won't automatically change to anything else when the tag is moved in range again. Hence, if you want to keep doing tag scanning after this, you must stop+start scanning.
|
* - 4: NFC tag is now out of range, where the NFC tag was previously in range. This occurs automatically without using any NFC service commands. Once this state is entered, it won't automatically change to anything else when the tag is moved in range again. Hence, if you want to keep doing tag scanning after this, you must stop+start scanning.
|
||||||
* - 5: NFC tag data was successfully loaded. This is set by NFC:LoadAmiiboData when successful.
|
* - 5: NFC tag data was successfully loaded. This is set by NFC:LoadAmiiboData when successful.
|
||||||
*/
|
*/
|
||||||
Result nfc_GetTagState(u8 *state);
|
Result NFC_GetTagState(u8 *state);
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ Handle nfcGetSessionHandle(void)
|
|||||||
return nfcHandle;
|
return nfcHandle;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result nfc_Initialize(u8 type)
|
Result NFC_Initialize(u8 type)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32* cmdbuf=getThreadCommandBuffer();
|
u32* cmdbuf=getThreadCommandBuffer();
|
||||||
@ -52,7 +52,7 @@ Result nfc_Initialize(u8 type)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result nfc_Shutdown(u8 type)
|
Result NFC_Shutdown(u8 type)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32* cmdbuf=getThreadCommandBuffer();
|
u32* cmdbuf=getThreadCommandBuffer();
|
||||||
@ -67,7 +67,7 @@ Result nfc_Shutdown(u8 type)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result nfc_StartCommunication()
|
Result NFC_StartCommunication(void)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32* cmdbuf=getThreadCommandBuffer();
|
u32* cmdbuf=getThreadCommandBuffer();
|
||||||
@ -81,7 +81,7 @@ Result nfc_StartCommunication()
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result nfc_StopCommunication()
|
Result NFC_StopCommunication(void)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32* cmdbuf=getThreadCommandBuffer();
|
u32* cmdbuf=getThreadCommandBuffer();
|
||||||
@ -95,7 +95,7 @@ Result nfc_StopCommunication()
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result nfc_StartTagScanning(u16 unknown)
|
Result NFC_StartTagScanning(u16 unknown)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32* cmdbuf=getThreadCommandBuffer();
|
u32* cmdbuf=getThreadCommandBuffer();
|
||||||
@ -110,7 +110,7 @@ Result nfc_StartTagScanning(u16 unknown)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result nfc_StopTagScanning()
|
Result NFC_StopTagScanning(void)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32* cmdbuf=getThreadCommandBuffer();
|
u32* cmdbuf=getThreadCommandBuffer();
|
||||||
@ -124,7 +124,7 @@ Result nfc_StopTagScanning()
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result nfc_LoadAmiiboData()
|
Result NFC_LoadAmiiboData(void)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32* cmdbuf=getThreadCommandBuffer();
|
u32* cmdbuf=getThreadCommandBuffer();
|
||||||
@ -138,7 +138,7 @@ Result nfc_LoadAmiiboData()
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result nfc_ResetTagScanState()
|
Result NFC_ResetTagScanState(void)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32* cmdbuf=getThreadCommandBuffer();
|
u32* cmdbuf=getThreadCommandBuffer();
|
||||||
@ -152,7 +152,7 @@ Result nfc_ResetTagScanState()
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result nfc_GetTagState(u8 *state)
|
Result NFC_GetTagState(u8 *state)
|
||||||
{
|
{
|
||||||
Result ret=0;
|
Result ret=0;
|
||||||
u32* cmdbuf=getThreadCommandBuffer();
|
u32* cmdbuf=getThreadCommandBuffer();
|
||||||
|
Loading…
Reference in New Issue
Block a user