From bf386c66394297172d8204a3b9cf9e092ced7d30 Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Mon, 22 Apr 2024 14:03:09 +0100 Subject: [PATCH] Make static table const --- src/par.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/par.c b/src/par.c index 76968569..19b613ba 100644 --- a/src/par.c +++ b/src/par.c @@ -51,7 +51,7 @@ struct ppipins_t { int inverted; }; -static struct ppipins_t ppipins[] = { +static const struct ppipins_t ppipins[] = { { 1, PPICTRL, 0x01, 1 }, { 2, PPIDATA, 0x01, 0 }, { 3, PPIDATA, 0x02, 0 },