diff options
author | red031000 <rubenru09@aol.com> | 2021-07-23 01:11:15 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2021-07-23 01:12:27 +0100 |
commit | 5bf13c7f48fe91c7902ce50250bc1a5a2398a2ae (patch) | |
tree | 2e91e60bdb7a9174b16d8ca1b532809d4ae2e5b6 /arm9/lib/include/MB_mb.h | |
parent | c2d91a2d997afd01fa4f40e1e16d5ee85557c9a8 (diff) |
separate out libs to libc, libnns and NitroSDK
Diffstat (limited to 'arm9/lib/include/MB_mb.h')
-rw-r--r-- | arm9/lib/include/MB_mb.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/arm9/lib/include/MB_mb.h b/arm9/lib/include/MB_mb.h deleted file mode 100644 index 5bccaf8b..00000000 --- a/arm9/lib/include/MB_mb.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef POKEDIAMOND_MB_MB_H -#define POKEDIAMOND_MB_MB_H - -#include "consts.h" - -#define MB_TYPE_ILLEGAL 0 -#define MB_TYPE_NORMAL 1 -#define MB_TYPE_MULTIBOOT 2 - -typedef struct { - u16 length; - u16 rssi; - u16 bssid[3]; - u16 ssidLength; - u8 ssid[32]; - u16 capaInfo; - struct { - u16 basic; - u16 support; - } rateSet; - u16 beaconperiod; - u16 dtimPeriod; - u16 channel; - u16 cfpPeriod; - u16 cfpMaxDuration; -} MBParentBssDesc; - -typedef struct { - u16 boot_type; - MBParentBssDesc parent_bss_desc; -} MBParam; - -static inline const MBParam *MB_GetMultiBootParam() { - return (const MBParam *)HW_WM_BOOT_BUF; -} - -static inline BOOL MB_IsMultiBootChild() { - return MB_GetMultiBootParam()->boot_type == MB_TYPE_MULTIBOOT; -} - -#endif //POKEDIAMOND_MB_MB_H |