![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
2011
Diff: function_utilities/function_utilities.cpp
- Revision:
- 69:3995ffeaa786
- Parent:
- 67:c2812cf26c38
- Child:
- 72:3436ce769b1e
--- a/function_utilities/function_utilities.cpp Tue May 12 11:25:00 2020 +0000 +++ b/function_utilities/function_utilities.cpp Fri May 15 08:38:26 2020 +0000 @@ -488,7 +488,7 @@ CHAMBER_VOLUME_B = flashReadInt(Rom_Sector, RID_CHAMBER_VOLUME_B); PISTON_AREA_A = flashReadInt(Rom_Sector, RID_PISTON_AREA_A); PISTON_AREA_B = flashReadInt(Rom_Sector, RID_PISTON_AREA_B); - PISTON_AREA_alpha = (float)PISTON_AREA_B/(float)PISTON_AREA_A; + PISTON_AREA_alpha = (float)PISTON_AREA_A/(float)PISTON_AREA_B; alpha3 = PISTON_AREA_alpha * PISTON_AREA_alpha*PISTON_AREA_alpha; PRES_SUPPLY = flashReadInt(Rom_Sector, RID_PRES_SUPPLY); PRES_RETURN = flashReadInt(Rom_Sector, RID_PRES_RETURN);