Comment out reassessment of timer in the middle of context switches. Need to revisit

This commit is contained in:
Gregory Nutt
2014-08-11 07:05:47 -06:00
parent bb1213ab89
commit 6e7cb4be58
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -267,6 +267,7 @@ int sam_oneshot_start(struct sam_oneshot_s *oneshot, oneshot_handler_t handler,
{ {
/* Yes.. then cancel it */ /* Yes.. then cancel it */
tcvdbg("Already running... cancelling\n");
(void)sam_oneshot_cancel(oneshot, NULL); (void)sam_oneshot_cancel(oneshot, NULL);
} }
+2 -2
View File
@@ -855,8 +855,8 @@ static int sam_tc_freqdiv_lookup(uint32_t ftcin, int ndx)
* Name: sam_tc_divfreq_lookup * Name: sam_tc_divfreq_lookup
* *
* Description: * Description:
* Given the TC input frequency (Ftcin) and a divider index, return the value of * Given the TC input frequency (Ftcin) and a divider index, return the
* the divided frequency * value of the divided frequency
* *
* Input Parameters: * Input Parameters:
* ftcin - TC input frequency * ftcin - TC input frequency