mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 23:08:53 -05:00
17 lines
391 B
C
17 lines
391 B
C
#ifndef _config_h__
|
|
#define _config_h__
|
|
|
|
#define SERIAL_NUM_LEN 6
|
|
struct eeprom_cfg {
|
|
uint8_t serial[SERIAL_NUM_LEN];
|
|
uint8_t mode;
|
|
};
|
|
|
|
void eeprom_app_write_defaults(void);
|
|
void eeprom_app_ready(void);
|
|
|
|
unsigned char config_setParam(unsigned char param, const unsigned char *value);
|
|
unsigned char config_getParam(unsigned char param, unsigned char *value, unsigned char max_len);
|
|
|
|
#endif
|