Commit 02a1a32c authored by norvell's avatar norvell
Browse files

Missing part of FIX_1179_USAN_PHASEECU

parent 59dbe57e
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2155,7 +2155,11 @@ static void hq_phase_ecu(
    }
    else
    {
#ifdef FIX_1179_USAN_PHASEECU
        *time_offs = (int16_t) ( *time_offs + output_frame ); /* cast added for USAN, "+=" avoided as it may creat a truncation from int to int16_t  */
#else
        *time_offs += output_frame;
#endif
        if ( *time_offs <= 0 )
        {
            /* detect wrap around  of st->time_offs */