mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Comment out reassessment of timer in the middle of context switches. Need to revisit
This commit is contained in:
@@ -267,6 +267,7 @@ int sam_oneshot_start(struct sam_oneshot_s *oneshot, oneshot_handler_t handler,
|
||||
{
|
||||
/* Yes.. then cancel it */
|
||||
|
||||
tcvdbg("Already running... cancelling\n");
|
||||
(void)sam_oneshot_cancel(oneshot, NULL);
|
||||
}
|
||||
|
||||
|
||||
@@ -855,8 +855,8 @@ static int sam_tc_freqdiv_lookup(uint32_t ftcin, int ndx)
|
||||
* Name: sam_tc_divfreq_lookup
|
||||
*
|
||||
* Description:
|
||||
* Given the TC input frequency (Ftcin) and a divider index, return the value of
|
||||
* the divided frequency
|
||||
* Given the TC input frequency (Ftcin) and a divider index, return the
|
||||
* value of the divided frequency
|
||||
*
|
||||
* Input Parameters:
|
||||
* ftcin - TC input frequency
|
||||
|
||||
Reference in New Issue
Block a user