Enable box when it is configured from serial.
This commit is contained in:
parent
1498f6581e
commit
7cbc58cb46
1 changed files with 2 additions and 1 deletions
|
@ -547,7 +547,8 @@ ack_t parseCommands(AsyncSerial &serial) {
|
||||||
int err = box_configure( &tck, init_aux );
|
int err = box_configure( &tck, init_aux );
|
||||||
if( err ) return ack;
|
if( err ) return ack;
|
||||||
EEPROM.put( eeadrInfo, tck.cfg );
|
EEPROM.put( eeadrInfo, tck.cfg );
|
||||||
|
|
||||||
|
box_init( &tck );
|
||||||
ack.rp = OK;
|
ack.rp = OK;
|
||||||
if ( verbose >= DEBUG ) { //VERBOSE
|
if ( verbose >= DEBUG ) { //VERBOSE
|
||||||
struct cfgtrack const* cfg = &tck.cfg.track;
|
struct cfgtrack const* cfg = &tck.cfg.track;
|
||||||
|
|
Loading…
Add table
Reference in a new issue