[riot-notifications] [RIOT-OS/RIOT] TI CC3200 SimpleLink RIOT support (#11866)

benpicco notifications at github.com
Mon Jul 29 16:19:03 CEST 2019


benpicco commented on this pull request.



> @@ -35,12 +35,13 @@ extern "C" {
  * @brief convert x usecs to cpu cycles
  *
  */
-#define USEC_TO_CPU_CYCLES(x) (80 * x) / 3
+#define USEC_TO_CPU_CYCLES(x) ((80000000U / 1000000) * x)

Don't you want to write `CLOCK_CORECLOCK ` instead of `80000000U`? ;) 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11866#pullrequestreview-267814930
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190729/65d23413/attachment.htm>


More information about the notifications mailing list