Skip to content

Commit

Permalink
Stages: Make table tables const
Browse files Browse the repository at this point in the history
  • Loading branch information
qiemem committed Apr 17, 2024
1 parent 64c86e1 commit f782077
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stages/resources.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ const float lut_sine[] = {
};


const float* lookup_table_table[] = {
const float* const lookup_table_table[] = {
lut_env_frequency,
lut_portamento_coefficient,
lut_sine,
Expand Down
2 changes: 1 addition & 1 deletion stages/resources.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace stages {

typedef uint8_t ResourceId;

extern const float* lookup_table_table[];
extern const float* const lookup_table_table[];

extern const float lut_env_frequency[];
extern const float lut_portamento_coefficient[];
Expand Down
1 change: 0 additions & 1 deletion stages/resources/lookup_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
# Lookup table definitions.

import numpy
import pylab

lookup_tables = []

Expand Down

0 comments on commit f782077

Please sign in to comment.