Fixed compiler warning for timer size.
This commit is contained in:
@@ -256,17 +256,10 @@ static void packet_statistics_clear(
|
|||||||
Invalid_Frame_Count = 0;
|
Invalid_Frame_Count = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint16_t Timer_Silence(
|
static uint32_t Timer_Silence(
|
||||||
void)
|
void)
|
||||||
{
|
{
|
||||||
uint32_t delta_time = 0;
|
return timer_milliseconds(TIMER_SILENCE);
|
||||||
|
|
||||||
delta_time = timer_milliseconds(TIMER_SILENCE);
|
|
||||||
if (delta_time > 0xFFFF) {
|
|
||||||
delta_time = 0xFFFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (uint16_t) delta_time;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Timer_Silence_Reset(
|
static void Timer_Silence_Reset(
|
||||||
|
|||||||
Reference in New Issue
Block a user