sine array is const

This commit is contained in:
Wolfgang Hottgenroth 2016-10-15 11:55:01 +02:00
parent 9316ef363f
commit 6e39c278d2

View File

@ -17,7 +17,7 @@
#if 1
#define NUM_OF_SINE_VALUES 21
float sineValues[NUM_OF_SINE_VALUES] = {
const float sineValues[NUM_OF_SINE_VALUES] = {
0.1490,
0.2948,
0.4339,
@ -43,7 +43,7 @@ float sineValues[NUM_OF_SINE_VALUES] = {
#else
#define NUM_OF_SINE_VALUES 20
float sineValues[NUM_OF_SINE_VALUES] = {
const float sineValues[NUM_OF_SINE_VALUES] = {
0.1564,
0.3090,
0.4540,