From 8e836461e1f41b33cacaf4a6ae93f77f26f96cea Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Sat, 20 Apr 2024 01:55:29 +0100 Subject: [PATCH] Make static table const --- src/stk500v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stk500v2.c b/src/stk500v2.c index f9c93c93..5f89c140 100644 --- a/src/stk500v2.c +++ b/src/stk500v2.c @@ -3280,7 +3280,7 @@ static int stk500v2_get_fosc(const PROGRAMMER *pgm, double *v) { /* The list of SCK frequencies supported by the AVRISP mkII, as listed * in AVR069 */ -static double avrispmkIIfreqs[] = { +static const double avrispmkIIfreqs[] = { 8000000, 4000000, 2000000, 1000000, 500000, 250000, 125000, 96386, 89888, 84211, 79208, 74767, 70797, 67227, 64000, 61069, 58395, 55945, 51613, 49690, 47905, 46243, 43244,