make pretty-code

This commit is contained in:
Gwenhael Le Moine 2024-04-09 19:47:49 +02:00
parent 10bae56104
commit 82f6e7a842
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 3 additions and 6 deletions

View file

@ -31,7 +31,6 @@ void signal_handler( int sig )
}
}
int main( int argc, char** argv )
{
setlocale( LC_ALL, "C" );
@ -77,7 +76,7 @@ int main( int argc, char** argv )
In emulate() got_alarm triggers LCD refresh and UI event handling
*/
struct itimerval it;
int interval = 15625; /* 64Hz according to https://www.hpcalc.org/hp48/docs/faq/48faq-6.html */
int interval = 15625; /* 64Hz according to https://www.hpcalc.org/hp48/docs/faq/48faq-6.html */
it.it_interval.tv_sec = 0;
it.it_interval.tv_usec = interval;
it.it_value.tv_sec = 0;
@ -108,7 +107,7 @@ int main( int argc, char** argv )
/* (G)UI */
ui_init_LCD();
setup_frontend(); /* points init_ui to the correct function */
setup_frontend(); /* points init_ui to the correct function */
init_ui( argc, argv );
/************************/

View file

@ -355,9 +355,7 @@ void text_draw_annunc( void )
mvaddwstr( 0, 4 + ( i * 4 ), ( ( annunciators_bits[ i ] & val ) == annunciators_bits[ i ] ) ? annunciators_icons[ i ] : L" " );
}
void text_adjust_contrast( void ) {
text_update_LCD();
}
void text_adjust_contrast( void ) { text_update_LCD(); }
int text_get_event( void )
{