comparison src/cs/drivers/drv_app/r2d/r2d_task.c @ 276:4221c724c664

R2D: preparations for adding LCD hardware suspend handling
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 07 Sep 2021 21:05:38 +0000
parents 6541e43f88e5
children 0196b6bf633c
comparison
equal deleted inserted replaced
275:79cfefc1e2b4 276:4221c724c664
93 //rvf_send_trace("GOOD EVENT",strlen("GOOD EVENT"), NULL_PARAM, 93 //rvf_send_trace("GOOD EVENT",strlen("GOOD EVENT"), NULL_PARAM,
94 // RV_TRACE_LEVEL_DEBUG_HIGH, TRACE_XXX ); 94 // RV_TRACE_LEVEL_DEBUG_HIGH, TRACE_XXX );
95 95
96 r2d_g_event_was_sent=FALSE; 96 r2d_g_event_was_sent=FALSE;
97 if (r2d_g_refresh_disabled==0) 97 if (r2d_g_refresh_disabled==0)
98 r2d_refresh(); 98 {
99 rvf_delay(RVF_MS_TO_TICKS(R2D_REFRESH_PERIOD)); 99 r2d_refresh();
100 rvf_delay(RVF_MS_TO_TICKS(R2D_REFRESH_PERIOD));
101 }
100 } 102 }
101 } 103 }
102 104
103 return RVM_OK; 105 return RVM_OK;
104 } 106 }