board: Shift config structs around

This commit is contained in:
Tau 2019-11-05 19:40:00 -05:00
parent f8289689f0
commit f11a3cb657
4 changed files with 7 additions and 5 deletions

View File

@ -5,6 +5,7 @@
#include <stddef.h> #include <stddef.h>
#include "board/config.h" #include "board/config.h"
#include "board/sg-reader.h"
void aime_config_load(struct aime_config *cfg, const wchar_t *filename) void aime_config_load(struct aime_config *cfg, const wchar_t *filename)
{ {

View File

@ -3,8 +3,6 @@
#include <stdbool.h> #include <stdbool.h>
#include <stddef.h> #include <stddef.h>
struct aime_config { #include "board/sg-reader.h"
bool enable;
};
void aime_config_load(struct aime_config *cfg, const wchar_t *filename); void aime_config_load(struct aime_config *cfg, const wchar_t *filename);

View File

@ -6,7 +6,6 @@
#include "aimeio/aimeio.h" #include "aimeio/aimeio.h"
#include "board/config.h"
#include "board/sg-led.h" #include "board/sg-led.h"
#include "board/sg-nfc.h" #include "board/sg-nfc.h"
#include "board/sg-reader.h" #include "board/sg-reader.h"

View File

@ -2,7 +2,11 @@
#include <windows.h> #include <windows.h>
#include "board/config.h" #include <stdbool.h>
struct aime_config {
bool enable;
};
HRESULT sg_reader_hook_init( HRESULT sg_reader_hook_init(
const struct aime_config *cfg, const struct aime_config *cfg,