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

benpicco notifications at github.com
Sun Sep 15 22:21:32 CEST 2019


benpicco commented on this pull request.



> @@ -62,7 +67,8 @@ static uint32_t ports[] = {
 /**
  * @brief   static callback memory
  */
-static gpio_isr_ctx_t isr_ctx[ARRAY_SIZE(ports)][GPIO_PINS_PER_PORT];
+static gpio_isr_ctx_t isr_ctx[sizeof(ports) / sizeof(uint32_t)]
+                             [GPIO_PINS_PER_PORT];

I liked it better before (`ARRAY_SIZE(ports)`)

-- 
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-288380139
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190915/2404c357/attachment-0001.htm>


More information about the notifications mailing list