mirror of https://github.com/jeelabs/esp-link.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
259 B
15 lines
259 B
10 years ago
|
#ifndef CONFIG_H
|
||
|
#define CONFIG_H
|
||
|
|
||
|
typedef struct {
|
||
|
int8_t reset_pin, isp_pin, conn_led_pin, ser_led_pin;
|
||
|
int32_t baud_rate;
|
||
|
char hostname[32];
|
||
|
} FlashConfig;
|
||
|
extern FlashConfig flashConfig;
|
||
|
|
||
|
bool configSave(void);
|
||
|
bool configRestore(void);
|
||
|
|
||
|
#endif
|