Commit 9974b249 authored by GuillemCabo's avatar GuillemCabo
Browse files

fix mccu function 4-core driver

parent ddc4d16b
......@@ -355,7 +355,7 @@ unsigned int pmu_mccu_get_quota_remaining(unsigned int core) {
#ifdef __PMU_LIB_DEBUG__
printf("pmu_mccu_get_quota_remaining\n");
#endif
return (_PMU_MCCU_QUOTA[3 + core]);
return (_PMU_MCCU_QUOTA[MCCU_N_CORES + core]);
}
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment