Mode count corrected

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

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

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

Loading…
Cancel
Save

Powered by TurnKey Linux.