void setfreq_updown(unsigned char ctlword)
{
unsigned int freq;
- if((ctlword != charcode_e) && (ctlword >= charcode_1)
- && (ctlword <= charcode_f)) {
- backlight_counter = setup.backlight_long;
- lcd_setbacklight(0xff, setup.backlight_level); // Turn ON
- } else if(ctlword == charcode_e){
- if(backlight_counter != 0){
- backlight_counter = 0;
- } else {
- backlight_counter = setup.backlight_long;
- }
- return;
- }
+
+ backlight_reset(ctlword);
+
update_status();
switch(ctlword){
default:
break;
}
-// if(fm == 0){
-// akc6955_get_amband(amband);
-// amfreq = akc6955_get_freq();
-// amfreq_bank[amband] = amfreq;
-// } else {
-// akc6955_get_fmband(fmband);
-// fmfreq = akc6955_get_freq();
-// fmfreq_bank[fmband] = fmfreq;
-// }
}