From 3465c43a6ae38ad0af1e700d36e049547414de69 Mon Sep 17 00:00:00 2001 From: skarg Date: Wed, 29 Jun 2016 20:27:39 +0000 Subject: [PATCH] Changed typedef structure to use const keyword to reduce RAM overhead. --- bacnet-stack/include/indtext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacnet-stack/include/indtext.h b/bacnet-stack/include/indtext.h index 80febaa7..4c53b0e0 100644 --- a/bacnet-stack/include/indtext.h +++ b/bacnet-stack/include/indtext.h @@ -29,8 +29,8 @@ #include /* index and text pairs */ -typedef struct { - unsigned index; /* index number that matches the text */ +const typedef struct { + const unsigned index; /* index number that matches the text */ const char *pString; /* text pair - use NULL to end the list */ } INDTEXT_DATA;