Merge pull request #246 from wally4000/sceWlan_type

Add missing psptypes.h
This commit is contained in:
Wouter Wijsman
2024-11-01 00:08:27 +01:00
committed by GitHub

View File

@@ -11,6 +11,7 @@
#ifndef __PSPWLAN_H__
#define __PSPWLAN_H__
#ifdef __cplusplus
extern "C" {
#endif
@@ -32,11 +33,11 @@ int sceWlanGetSwitchState(void);
/**
* Get the Ethernet Address of the wlan controller
*
* @param etherAddr - pointer to a buffer of u8 (NOTE: it only writes to 6 bytes, but
* @param etherAddr - pointer to a buffer of uint8_t (NOTE: it only writes to 6 bytes, but
* requests 8 so pass it 8 bytes just in case)
* @return 0 on success, < 0 on error
*/
int sceWlanGetEtherAddr(u8 *etherAddr);
int sceWlanGetEtherAddr(uint8_t *etherAddr);
/**
* Attach to the wlan device