mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			[M487] Remove trailing space in lp_ticker/us_ticker
							parent
							
								
									8b86d44867
								
							
						
					
					
						commit
						bc9c9ca1e2
					
				| 
						 | 
				
			
			@ -103,8 +103,6 @@ void lp_ticker_init(void)
 | 
			
		|||
 | 
			
		||||
    // Schedule wakeup to match semantics of lp_ticker_get_compare_match()
 | 
			
		||||
    lp_ticker_set_interrupt(wakeup_tick);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
timestamp_t lp_ticker_read()
 | 
			
		||||
| 
						 | 
				
			
			@ -146,9 +144,9 @@ void lp_ticker_set_interrupt(timestamp_t timestamp)
 | 
			
		|||
{
 | 
			
		||||
    uint32_t delta = timestamp - lp_ticker_read();
 | 
			
		||||
    wakeup_tick = timestamp;
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    TIMER_Stop((TIMER_T *) NU_MODBASE(timer3_modinit.modname));
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    cd_major_minor_clks = (uint64_t) delta * US_PER_TICK * TMR3_CLK_PER_SEC / US_PER_SEC;
 | 
			
		||||
    lp_ticker_arm_cd();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -146,7 +146,7 @@ void us_ticker_clear_interrupt(void)
 | 
			
		|||
void us_ticker_set_interrupt(timestamp_t timestamp)
 | 
			
		||||
{
 | 
			
		||||
    TIMER_Stop((TIMER_T *) NU_MODBASE(timer1hires_modinit.modname));
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    uint32_t delta = timestamp - us_ticker_read();
 | 
			
		||||
    cd_major_minor_us = delta * US_PER_TICK;
 | 
			
		||||
    us_ticker_arm_cd();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue