comparison 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
comparison
equal deleted inserted replaced
192:4f40ae165be4 193:6a53de2c4fc2
36 36
37 extern void r2d_refresh(void); 37 extern void r2d_refresh(void);
38 38
39 extern INT16 r2d_g_refresh_disabled; 39 extern INT16 r2d_g_refresh_disabled;
40 40
41 /* FreeCalypso addition */
42 int r2d_is_running;
43
41 /******************************************************************************* 44 /*******************************************************************************
42 ** Function r2d_core 45 ** Function r2d_core
43 ** 46 **
44 ** Description Core of the r2d task, which refresh the LCD 47 ** Description Core of the r2d task, which refresh the LCD
45 ** 48 **
46 *******************************************************************************/ 49 *******************************************************************************/
47 T_RVM_RETURN r2d_core(void) 50 T_RVM_RETURN r2d_core(void)
48 { 51 {
49 BOOLEAN error_occured = FALSE; 52 BOOLEAN error_occured = FALSE;
50 // T_R2D_EVT * msg_ptr_rx, * msg_ptr_tx; 53 // T_R2D_EVT * msg_ptr_rx, * msg_ptr_tx;
51 54
52 //r2d_start(); 55 //r2d_start();
53 56
54 57 rvf_send_trace("R2D REFRESH TASK STARTED", 24, NULL_PARAM,
55 rvf_send_trace("R2D REFRESH TASK STARTED",24, NULL_PARAM, 58 RV_TRACE_LEVEL_DEBUG_HIGH, R2D_USE_ID);
56 RV_TRACE_LEVEL_DEBUG_HIGH, R2D_USE_ID ); 59 #ifdef CONFIG_TARGET_LUNA
57 60 r2d_refresh_task_secondary_init();
61 rvf_send_trace("R2D secondary init complete", 27, NULL_PARAM,
62 RV_TRACE_LEVEL_DEBUG_HIGH, R2D_USE_ID);
63 #endif
64 r2d_is_running = 1;
58 65
59 /* loop to process messages */ 66 /* loop to process messages */
60 while (error_occured == FALSE) 67 while (error_occured == FALSE)
61 { 68 {
62 UINT16 received_event; 69 UINT16 received_event;