mirror of
https://github.com/stevenhowes/ctenna.git
synced 2026-05-26 15:53:28 +01:00
Add files via upload
debug in main menu
This commit is contained in:
@@ -108,12 +108,13 @@ int main(){
|
||||
|
||||
while (main_menu_sel != 0){ // main menu loop runs until "0" for quit
|
||||
|
||||
main_menu(&f, &unit_index);
|
||||
main_menu(&f, &unit_index); //prints menu
|
||||
main_menu_sel = menu_select();
|
||||
|
||||
|
||||
switch(main_menu_sel){
|
||||
|
||||
case 0: return 0;
|
||||
case 1: clear_scr();set_freq(&f);
|
||||
break;
|
||||
case 2: clear_scr();set_units_system(&unit_factor ,&unit_index );
|
||||
@@ -136,7 +137,7 @@ int main(){
|
||||
myflush ( stdin );
|
||||
mypause();
|
||||
break;
|
||||
// default: maybe easteregg in future
|
||||
default:printf("And then?");return 1; //maybe easteregg in future
|
||||
}
|
||||
}
|
||||
clear_scr();
|
||||
|
||||
Reference in New Issue
Block a user