Fix #10: Moved static and global variablöes that are 0 initialized to CCMRAM in order to make room and increase performance.
This commit is contained in:
		@@ -55,8 +55,6 @@ float safety_adc_convert_channel(enum safety_adc_meas_channel channel, uint16_t
 | 
			
		||||
{
 | 
			
		||||
	float converted_val;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	switch (channel) {
 | 
			
		||||
	case SAFETY_ADC_MEAS_TEMP:
 | 
			
		||||
		converted_val = (((float)analog_value / 4095.0f * 2500.0f - SAFETY_ADC_TEMP_NOM_MV) /
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user