SerialInit() and show it on UI
This commit is contained in:
parent
9c99a84a0d
commit
e268d75cca
2 changed files with 5 additions and 2 deletions
|
@ -31,8 +31,8 @@ static config_t config = {
|
|||
.tiny = false,
|
||||
.small = false,
|
||||
|
||||
.wire_name = ( char* )"/dev/wire",
|
||||
.ir_name = ( char* )"/dev/ir",
|
||||
/* .wire_name = ( char* )"/dev/wire", */
|
||||
/* .ir_name = ( char* )"/dev/ir", */
|
||||
|
||||
/* from args.h */
|
||||
.reset = false,
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "config.h"
|
||||
#include "keyb.h"
|
||||
#include "modules.h"
|
||||
#include "serial.h"
|
||||
|
||||
config_t config;
|
||||
|
||||
|
@ -146,6 +147,8 @@ void init_emulator( config_t* conf )
|
|||
config = *conf;
|
||||
|
||||
EmulatorInit();
|
||||
|
||||
conf->wire_name = ( char* )SerialInit();
|
||||
}
|
||||
|
||||
void exit_emulator( void ) { EmulatorExit( SAVE_AND_EXIT ); }
|
||||
|
|
Loading…
Reference in a new issue