examples/DS401_Slave_Gui/main.cpp
changeset 407 384c3cd7afa2
parent 385 fff25f16c923
child 615 1eec2f9a7f5f
equal deleted inserted replaced
406:92e28415d026 407:384c3cd7afa2
   594 MyFrame::Start ()
   594 MyFrame::Start ()
   595 {
   595 {
   596   if (main_can (SlaveBoard, LibraryPath))
   596   if (main_can (SlaveBoard, LibraryPath))
   597     {
   597     {
   598       printf ("[KO]\n");
   598       printf ("[KO]\n");
       
   599       fflush(stdout);
   599       *textLog <<
   600       *textLog <<
   600 	wxT
   601 	wxT
   601 	("----------------------------------------------------Initialization [KO]\n");
   602 	("----------------------------------------------------Initialization [KO]\n");
   602     }
   603     }
   603   else
   604   else
   604     {
   605     {
   605       printf ("[OK]\n");
   606       printf ("[OK]\n");
       
   607       fflush(stdout);
   606       *textLog <<
   608       *textLog <<
   607 	wxT
   609 	wxT
   608 	("----------------------------------------------------Initialization [OK]\n");
   610 	("----------------------------------------------------Initialization [OK]\n");
   609       stop->Enable (true);
   611       stop->Enable (true);
   610       start->Enable (false);
   612       start->Enable (false);