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

Wlad Meixner notifications at github.com
Sun Sep 15 22:29:47 CEST 2019


gosticks 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];

me too... But for some reason while testing the gpio the ARRAY_SIZE macro was no longer defined. It may sound somewhat newbie but is there an ARRAY_SIZE definition somewhere or do I have to provide that myself.

-- 
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#discussion_r324479613
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190915/5d9cbf1b/attachment.htm>


More information about the notifications mailing list