Exemple #1
0
 internal static void finalize_working_frame()
 {
     if (!LIN.m_we_are_finishing_a_frame)
     {
         LIN.finish_this_frame();
     }
 }
Exemple #2
0
 private static void frame_has_timed_out(object state)
 {
     while (LIN.m_stopwatch.ElapsedMilliseconds < (long)LIN.FRAME_TIMEOUT)
     {
         Thread.Sleep(10);
     }
     LIN.m_working_frame.FrameInfo.frame_timeout_time = LIN.m_stopwatch.ElapsedMilliseconds;
     if (!LIN.m_we_are_finishing_a_frame)
     {
         if (LIN.m_working_frame.FrameInfo.FrameID == 0)
         {
             byte arg_5C_0 = USBRead.m_raw_cbuf2_data_array[(int)((UIntPtr)USBRead.m_cb2_array_tag_index)];
         }
         LIN.m_working_frame.BuildState.we_timed_out = true;
         LIN.finish_this_frame();
     }
 }