mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 14:47:46 +00:00
otInstance Declarations (#473)
* Add otInstance type declaration and update ot APIs to take it as input.
This commit is contained in:
@@ -39,7 +39,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* This function performs all platform-specific initialization.
|
||||
*
|
||||
@@ -49,8 +48,10 @@ void PlatformInit(int argc, char *argv[]);
|
||||
/**
|
||||
* This function performs all platform-specific processing.
|
||||
*
|
||||
* @param[in] aInstance The OpenThread instance structure.
|
||||
*
|
||||
*/
|
||||
void PlatformProcessDrivers(void);
|
||||
void PlatformProcessDrivers(otInstance *aInstance);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // end of extern "C"
|
||||
|
||||
Reference in New Issue
Block a user