scan_setup.cpp: fix possible compiler warning

enum constant in boolean context


Origin commit data
------------------
Commit: 39d7048d54
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-02-11 (Mon, 11 Feb 2019)
This commit is contained in:
2019-02-11 21:49:09 +01:00
committed by vanhofen
parent d74d8d9aa0
commit c2e9e74cc3

View File

@@ -1950,7 +1950,7 @@ printf("[neutrino] CScanSetup::%s: logical numbers %d\n", __FUNCTION__, scansett
if (fe_config.force_mode == 1)
fe_config.powered = 0;
tsp->setActive(fe_config.force_mode != 1);
ret = menu_return::RETURN_EXIT_REPAINT;
ret = true;
}
return ret;
}