From 7f9600cdb7eed6c3e709a16915533037730ccc5f Mon Sep 17 00:00:00 2001 From: Silvano Seva Date: Fri, 26 Mar 2021 16:33:08 +0100 Subject: [PATCH] Moved MDx tone generator sine table to FLASH --- platform/drivers/tones/toneGenerator_MDx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/drivers/tones/toneGenerator_MDx.c b/platform/drivers/tones/toneGenerator_MDx.c index e8d5ea5a..43eda67b 100644 --- a/platform/drivers/tones/toneGenerator_MDx.c +++ b/platform/drivers/tones/toneGenerator_MDx.c @@ -26,7 +26,7 @@ * Sine table for PWM-based sinewave generation, containing 256 samples over one * period of a 64Hz sinewave. This gives a PWM base frequency of 16.384kHz. */ -uint8_t sineTable[] = +static const uint8_t sineTable[] = { 128,131,134,137,140,143,146,149,152,155,158,162,165,167,170,173,176,179,182, 185,188,190,193,196,198,201,203,206,208,211,213,215,218,220,222,224,226,228,