Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of RAJANGAM_REVIEW_BAE_CODE by
Diff: EPS.cpp
- Revision:
- 79:bc093fd525d7
- Parent:
- 77:6a5f6e1c7a35
- Child:
- 86:051ec436e75f
--- a/EPS.cpp Sat Dec 10 14:02:38 2016 +0000
+++ b/EPS.cpp Sat Dec 10 14:08:36 2016 +0000
@@ -564,7 +564,7 @@
quant_data.current_quant[Iteration] = float_to_uint8(0.0,2640,actual_data.current_actual[Iteration]);//quantiz(cstart,cstep,actual_data.current_actual[Iteration]);
else if(Iteration==8)
quant_data.current_quant[Iteration] = 10*actual_data.current_actual[Iteration];
- /*quant_data.current_quant[Iteration] = float_to_uint8(0.0,25,actual_data.current_actual[Iteration]);//quantiz(tstart_thermistor,tstep_thermistor,actual_data.current_actual[Iteration]); /*the bus voltage inside*/
+ //quant_data.current_quant[Iteration] = float_to_uint8(0.0,25,actual_data.current_actual[Iteration]);//quantiz(tstart_thermistor,tstep_thermistor,actual_data.current_actual[Iteration]); //the bus voltage inside
else if(Iteration==9)
quant_data.current_quant[Iteration] = float_to_uint8(-50,150,actual_data.current_actual[Iteration]); /*the temp of board*/
else if(Iteration>9)/*changed from 25 to 300 what value do we expectt?*/
@@ -810,11 +810,11 @@
uint8_t saveMin(uint8_t x,uint8_t y){
- if(y<x){
+ if(y<x)
+ {
x=y;
+ }
return x;
- }
-
}
uint8_t saveMax(uint8_t x,uint8_t y){
if (y>x)
