Make two static structs read-only in developer_opts.c

This commit is contained in:
Stefan Rueger
2024-05-08 22:23:24 +01:00
parent 161f763507
commit 0c565354aa

View File

@@ -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"},