Fixed problem with errors not showing up when repair process finished

Started working on issue to release tesla gun only when target voltage has been reached

git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@430 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
mmi
2018-02-05 15:58:06 +00:00
parent f02bd2002b
commit d5a10b7c2e
11 changed files with 242 additions and 17 deletions

View File

@@ -99,6 +99,7 @@ struct MenuPage
struct MenuCore
{
void* parent;
struct MenuPage menuArray[RM_NUMBER_OF_MENUS];
struct Display* display;
struct KeyboardDevice* keyboardDevice;

View File

@@ -231,11 +231,12 @@ static const char MenuText_PAUSE[MENUTEXT_NUMBER_OF_LANGUAGES][5][MENUTEXT_POPUP
}
};
static const char MenuText_FINISH[MENUTEXT_NUMBER_OF_LANGUAGES][2][MENUTEXT_POPUP_MESSAGE_LENGTH] =
static const char MenuText_FINISH[MENUTEXT_NUMBER_OF_LANGUAGES][3][MENUTEXT_POPUP_MESSAGE_LENGTH] =
{
// MAX 20 CHARACTERS
{
"REPAIR FINISHED",
"Error in row",
"Hit ENT to continue",
},
{

View File

@@ -42,6 +42,7 @@
// -----------------------------------------------------------------------------
#define REPAIR_PRESETS_NUMBER_OF_PRESETS (9)
#define REPAIR_PRESETS_DEFAULT_PRESET (1)
// -----------------------------------------------------------------------------
// Type definitions.

View File

@@ -68,10 +68,12 @@ struct RepairMenu
struct MemoryDevice* memoryDevice;
struct CachedStorage presetStorage;
SemaphoreHandle_t repairScreenUpdateSemaphore;
const struct RepairPreset* repairPreset;
struct RepairProcessParameters rpParameters;
Observer observer;
struct MenuCore* menuCore;
struct RepairProcess* repairProcess;
struct RepairProcessParameters rpParameters;
const struct RepairPreset* repairPreset;
bool processResult[REPAIRPROCESS_NUMBER_OF_ROWS];
};
// -----------------------------------------------------------------------------