[riot-notifications] [RIOT-OS/RIOT] cpu/stm32: add rtc_mem (#16802)

Francisco notifications at github.com
Tue Sep 7 08:20:51 CEST 2021


@fjmolinas commented on this pull request.



> @@ -104,7 +104,8 @@ void rtc_mem_write(unsigned offset, const void *data, size_t len)
         return;
     }
 
-    /* get the correct pointer */
+    uint8_t *in = (uint8_t *)data;

It will lead to a cast in the memcpy call, is that better?

-- 
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/16802#discussion_r703212487
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210906/6e71fbbb/attachment.htm>


More information about the notifications mailing list