changeset 233:eacfad198b8b

give higher priority to FCHG task
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 May 2021 10:17:16 +0000
parents 0041bac707bd
children 0faa72eaedcb
files src/cs/drivers/drv_app/fchg/fchg_env.c src/cs/riviera/rvm/rvm_priorities.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/fchg/fchg_env.c	Sat May 01 10:13:23 2021 +0000
+++ b/src/cs/drivers/drv_app/fchg/fchg_env.c	Sat May 01 10:17:16 2021 +0000
@@ -29,7 +29,7 @@
    memcpy( infoSWE->type_info.type4.swe_name, "FCHG", 5 );
 
    infoSWE->type_info.type4.stack_size = FCHG_STACK_SIZE;
-   infoSWE->type_info.type4.priority   = RVM_LCC_TASK_PRIORITY;
+   infoSWE->type_info.type4.priority   = RVM_FCHG_TASK_PRIORITY;
 
    /* memory bank info */
    infoSWE->type_info.type4.nb_mem_bank = 1;
--- a/src/cs/riviera/rvm/rvm_priorities.h	Sat May 01 10:13:23 2021 +0000
+++ b/src/cs/riviera/rvm/rvm_priorities.h	Sat May 01 10:17:16 2021 +0000
@@ -49,6 +49,7 @@
 ** Note: FFS priority should be lower than every user
 */
 #define		RVM_SPI_TASK_PRIORITY			(39)
+#define		RVM_FCHG_TASK_PRIORITY			(80)
 #define		RVM_TTY_TASK_PRIORITY			(238)
 #define		RVM_AUDIO_TASK_PRIORITY			(245)
 #define		RVM_AUDIO_BGD_TASK_PRIORITY		(246)