Skip to content

Commit

Permalink
Increase MAX_EFFECTS from 18 to 19
Browse files Browse the repository at this point in the history
Due to ID offset, this allows 18 effects which is the maximum number the FFP supports of the effect types that are implemented.
  • Loading branch information
ej113 committed Oct 17, 2023
1 parent 2a5f030 commit acb83d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ffb.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@
*/

// Maximum number of parallel effects in memory
#define MAX_EFFECTS 18
#define MAX_EFFECTS 19 //Actually Max Effect ID , but effects IDs start at 0x02 so 1 less than this
//FFP can support 10 waveforms + 2 of each conditional = 18 not including other unsupported effect types
//Wheel limits?


// ---- Input

Expand Down

0 comments on commit acb83d8

Please sign in to comment.