Add Tone Lib/Effects support on RP255

RP255 (firmware version 1.1) has the Tone Library at position 25, instead of 26.
Add this library position alternative as "LIB_POSITION_B", renaming the existing
one to LIB_POSITION_A, and add the corresponding bits at effects.c.

Also, adds a menu there, to let it to be controlled via the library.
This commit is contained in:
Mauro Carvalho Chehab
2012-12-02 10:54:34 -02:00
committed by Tomasz Moń
parent 890d40f6c6
commit 1a5fab5f5a
2 changed files with 36 additions and 8 deletions

View File

@@ -892,7 +892,8 @@ enum {
#define LIBRARY_EFFECTS 8705
#define EFFECTS_LEVEL 8706
#define LIB_POSITION 26
#define LIB_POSITION_A 26
#define LIB_POSITION_B 25
#define TONE_LIB_TYPE 8704
#define FX_LIB_TYPE 8705