mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
Fix a compilation error. From Macs Neklyudov
This commit is contained in:
@@ -262,7 +262,7 @@ void up_timer_initialize(void)
|
|||||||
max_delay /= CONFIG_USEC_PER_TICK;
|
max_delay /= CONFIG_USEC_PER_TICK;
|
||||||
if (max_delay > UINT32_MAX)
|
if (max_delay > UINT32_MAX)
|
||||||
{
|
{
|
||||||
g_oneshot_maxticks = UINT32_MAX
|
g_oneshot_maxticks = UINT32_MAX;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user