Mode count corrected

pull/34/head
erikkaashoek 4 years ago
parent 5b1df53994
commit bcc04d1536

@ -18,7 +18,7 @@
*/ */
#include "ch.h" #include "ch.h"
//#ifdef TINYSA_F303 #ifdef TINYSA_F303
#ifdef TINYSA_F072 #ifdef TINYSA_F072
#error "Remove comment for #ifdef TINYSA_F303" #error "Remove comment for #ifdef TINYSA_F303"
#endif #endif
@ -26,7 +26,7 @@
#define TINYSA4 #define TINYSA4
#endif #endif
#define TINYSA4_PROTO #define TINYSA4_PROTO
//#endif #endif
#ifdef TINYSA_F072 #ifdef TINYSA_F072
#ifdef TINYSA_F303 #ifdef TINYSA_F303

@ -801,7 +801,7 @@ static UI_FUNCTION_ADV_CALLBACK(menu_output_level_acb)
#ifdef TINYSA4 #ifdef TINYSA4
static const int item_to_mode[3] = { 0,2,3 }; static const int item_to_mode[3] = { 0,2,3 };
#else #else
static const int item_to_mode[3] = { 0,1,2,3 }; static const int item_to_mode[4] = { 0,1,2,3 };
#endif #endif
static UI_FUNCTION_ADV_CALLBACK(menu_mode_acb) static UI_FUNCTION_ADV_CALLBACK(menu_mode_acb)
{ {

Loading…
Cancel
Save

Powered by TurnKey Linux.