sine array is const
This commit is contained in:
parent
9316ef363f
commit
6e39c278d2
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user