mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-30 04:49:14 +03:00
Make two static structs read-only in developer_opts.c
This commit is contained in:
@@ -59,14 +59,14 @@
|
||||
// - Output again with -p*/s or -c*/s (no /i) and use that for final avrdude.conf
|
||||
// - Remove entries from below tables
|
||||
|
||||
static struct {
|
||||
static const struct {
|
||||
const char *pgmid, *var, *value;
|
||||
} pgminj[] = {
|
||||
// Add triples here, eg, {"stk500v2", "prog_modes", "PM_TPI|PM_ISP"},
|
||||
{NULL, NULL, NULL},
|
||||
};
|
||||
|
||||
static struct {
|
||||
static const struct {
|
||||
const char *mcu, *var, *value;
|
||||
} ptinj[] = {
|
||||
// Add triples here, eg, {"ATmega328P", "mcuid", "999"},
|
||||
|
||||
Reference in New Issue
Block a user