TODO added for Kilrah, I am not sure this line is useful
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
#if defined(CPUARM)
|
#if defined(CPUARM)
|
||||||
uint8_t g_moduleIdx;
|
uint8_t g_moduleIdx;
|
||||||
@@ -286,7 +286,7 @@ void menuModelSetup(uint8_t event)
|
|||||||
case 2:
|
case 2:
|
||||||
qr.rem -= checkIncDecModel(event, qr.rem+2, 1, 62)-2;
|
qr.rem -= checkIncDecModel(event, qr.rem+2, 1, 62)-2;
|
||||||
timer->start -= qr.rem ;
|
timer->start -= qr.rem ;
|
||||||
if ((int16_t)timer->start < 0) timer->start=0;
|
if ((int16_t)timer->start < 0) timer->start=0; // TODO is it really needed?
|
||||||
if ((int32_t)timer->start > 3599) timer->start=3599; // 59:59
|
if ((int32_t)timer->start > 3599) timer->start=3599; // 59:59
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user