FreeCalypso > hg > fc-selenite
diff src/cs/drivers/drv_app/r2d/r2d_task.c @ 193:6a53de2c4fc2
R2D sync with Magnetite
R2D is never compiled in Selenite, thus the present change has absolutely
no impact on anything - but this sync is being done in order to keep the
overall diff between Magnetite and Selenite to a minimum.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 23 May 2020 07:13:36 +0000 |
parents | b6a5e36de839 |
children |
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/r2d/r2d_task.c Sat May 23 07:03:46 2020 +0000 +++ b/src/cs/drivers/drv_app/r2d/r2d_task.c Sat May 23 07:13:36 2020 +0000 @@ -38,6 +38,9 @@ extern INT16 r2d_g_refresh_disabled; +/* FreeCalypso addition */ +int r2d_is_running; + /******************************************************************************* ** Function r2d_core ** @@ -45,16 +48,20 @@ ** *******************************************************************************/ T_RVM_RETURN r2d_core(void) -{ +{ BOOLEAN error_occured = FALSE; // T_R2D_EVT * msg_ptr_rx, * msg_ptr_tx; - + //r2d_start(); - - rvf_send_trace("R2D REFRESH TASK STARTED",24, NULL_PARAM, - RV_TRACE_LEVEL_DEBUG_HIGH, R2D_USE_ID ); - + rvf_send_trace("R2D REFRESH TASK STARTED", 24, NULL_PARAM, + RV_TRACE_LEVEL_DEBUG_HIGH, R2D_USE_ID); +#ifdef CONFIG_TARGET_LUNA + r2d_refresh_task_secondary_init(); + rvf_send_trace("R2D secondary init complete", 27, NULL_PARAM, + RV_TRACE_LEVEL_DEBUG_HIGH, R2D_USE_ID); +#endif + r2d_is_running = 1; /* loop to process messages */ while (error_occured == FALSE)