Cleaned up comments in the TriacOut module
This commit is contained in:
		
							parent
							
								
									29426ad4a5
								
							
						
					
					
						commit
						b987d81827
					
				
					 2 changed files with 7 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -13,13 +13,9 @@
 | 
			
		|||
#include "RegEdit.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void Delay_MicroSeconds_impl(double us){
 | 
			
		||||
    return;
 | 
			
		||||
}
 | 
			
		||||
void Delay_MicroSeconds_impl(double us);
 | 
			
		||||
 | 
			
		||||
//Delay_MicroSeconds =
 | 
			
		||||
//void (*Delay_MicroSeconds)(double us) = Delay_MicroSeconds_impl;
 | 
			
		||||
void (*Delay_MicroSecnds)(double us) = Delay_MicroSeconds_impl;
 | 
			
		||||
void (*Delay_MicroSeconds)(double us) = &Delay_MicroSeconds_impl;
 | 
			
		||||
 | 
			
		||||
void TriacOut_InitTimerA(void)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			@ -45,12 +41,13 @@ void TriacOut_SetAllHigh(void)
 | 
			
		|||
 | 
			
		||||
void TriacOut_PulsePins(uint16_t pulse_time)
 | 
			
		||||
{
 | 
			
		||||
     Delay_MicroSeconds(pulse_time);
 | 
			
		||||
    Delay_MicroSeconds(pulse_time);
 | 
			
		||||
 | 
			
		||||
    RegEdit_ClearBit((void *) &PORTA.OUT, G1);
 | 
			
		||||
    RegEdit_ClearBit((void *) &PORTB.OUT, G2);
 | 
			
		||||
    RegEdit_ClearBit((void *) &PORTB.OUT, G3);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void Delay_MicroSeconds_impl(double us){
 | 
			
		||||
    return;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -44,4 +44,5 @@ void TriacOut_SetupPins(void);
 | 
			
		|||
void TriacOut_SetAllHigh(void);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#endif //TRIACOUT_H
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue