Usar pararCPU_MON() en vez de setEnfuncionamiento
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
parent
6a855f6f5e
commit
bf1663695d
@ -89,9 +89,10 @@ void userInterface(const uint8_t *num_menu, vector<string> *mensaje,
|
|||||||
ui::g_maxCols - ui::g_maxCols / 2 - 1));
|
ui::g_maxCols - ui::g_maxCols / 2 - 1));
|
||||||
|
|
||||||
std::thread monHilo(monitorHilo, &monitor);
|
std::thread monHilo(monitorHilo, &monitor);
|
||||||
|
monHilo.detach();
|
||||||
sleep(10);
|
sleep(10);
|
||||||
|
|
||||||
monitor.setEnfuncionamiento(false);
|
monitor.pararCPU_MON();
|
||||||
|
|
||||||
vector<string> elem_menu = {txt::g_menuPrincipal_1, txt::g_menuPrincipal_2,
|
vector<string> elem_menu = {txt::g_menuPrincipal_1, txt::g_menuPrincipal_2,
|
||||||
txt::g_menuPrincipal_3};
|
txt::g_menuPrincipal_3};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user