|
|
|
@ -444,6 +444,7 @@ menu_cal2_cb(int item)
|
|
|
|
// toggle applying correction
|
|
|
|
// toggle applying correction
|
|
|
|
if (cal_status)
|
|
|
|
if (cal_status)
|
|
|
|
cal_status ^= CALSTAT_APPLY;
|
|
|
|
cal_status ^= CALSTAT_APPLY;
|
|
|
|
|
|
|
|
draw_menu();
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
draw_cal_status();
|
|
|
|
draw_cal_status();
|
|
|
|
@ -631,8 +632,9 @@ menu_stimulus_cb(int item)
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case 5: /* PAUSE */
|
|
|
|
case 5: /* PAUSE */
|
|
|
|
toggle_sweep();
|
|
|
|
toggle_sweep();
|
|
|
|
menu_move_back();
|
|
|
|
//menu_move_back();
|
|
|
|
ui_mode_normal();
|
|
|
|
//ui_mode_normal();
|
|
|
|
|
|
|
|
draw_menu();
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -1133,6 +1135,16 @@ menu_item_modify_attribute(const menuitem_t *menu, int item,
|
|
|
|
*bg = 0x0000;
|
|
|
|
*bg = 0x0000;
|
|
|
|
*fg = 0xffff;
|
|
|
|
*fg = 0xffff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} else if (menu == menu_stimulus) {
|
|
|
|
|
|
|
|
if (item == 5 /* PAUSE */ && !sweep_enabled) {
|
|
|
|
|
|
|
|
*bg = 0x0000;
|
|
|
|
|
|
|
|
*fg = 0xffff;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else if (menu == menu_cal) {
|
|
|
|
|
|
|
|
if (item == 2 /* CORRECTION */ && (cal_status & CALSTAT_APPLY)) {
|
|
|
|
|
|
|
|
*bg = 0x0000;
|
|
|
|
|
|
|
|
*fg = 0xffff;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|