platform: Shift config structs around

This commit is contained in:
Tau
2019-11-05 19:31:11 -05:00
parent a87b8f72fa
commit 8b8656c9d2
19 changed files with 114 additions and 85 deletions

View File

@ -5,7 +5,14 @@
#include <stdbool.h>
#include <stdint.h>
#include "platform/config.h"
#include "platform/nusec.h"
struct netenv_config {
bool enable;
uint8_t addr_suffix;
uint8_t router_suffix;
uint8_t mac_addr[6];
};
HRESULT netenv_hook_init(
const struct netenv_config *cfg,