REVISION
Definition in file UI_MSF_diagnosis.c.
#include "ui.h"
#include "ui_assert.h"
#include "../SYSTEM/sys_hardware.h"
#include "../SYSTEM/sys_main.h"
#include "../basicboot/bootmode.h"
Include dependency graph for UI_MSF_diagnosis.c:

Go to the source code of this file.
Functions | |
| STATE | UI_MSF_diagnosis (st_MSG *msgIN) |
| Function serves as the diagnosis menu state handle. | |
| void | UI_MENU_diagnosis (void) |
| Funciton sets up the diagnosis menu display. | |
|
|
Function serves as the diagnosis menu state handle.
Definition at line 41 of file UI_MSF_diagnosis.c. References BOOT_MAIN. 00042 {
00043 MSG_ID id = msgIN->id;
00044 MSG_DATA d1 = msgIN->d1;
00045
00046 if( (KBD_MSG_ID == id)&&(KEY_SELECT == d1) )
00047 {
00048 switch(actvItem)
00049 {
00050 case 1: // nand
00051 GEN_pushStack(MENU_DIAGNOSIS);
00052 GEN_pushStack(MENU_DIAG_NAND);
00053 return S_MENU;
00054
00055 case 2: // hdd
00056 if(SYS_isHDDpresent())
00057 {
00058 GEN_pushStack(MENU_DIAGNOSIS);
00059 GEN_pushStack(MENU_DIAG_HDD);
00060 return S_MENU;
00061 }
00062 break;
00063
00064 case 3: // Exit
00065 SYS_reboot(BOOT_MAIN);
00066 }
00067 }
00068
00069 return S_MENU_STAY;
00070 }
|
1.3.9.1