[riot-notifications] [RIOT-OS/RIOT] build system: add machine-readable RIOT_VERSION_CODE macro (#16765)

Kaspar Schleiser notifications at github.com
Tue Sep 21 10:37:13 CEST 2021


@kaspar030 commented on this pull request.



> +#define KERNEL_VERSION(a, b, c, d) (((uint64_t)(a) << 48) + ((uint64_t)(b) << 32) + \
+                                    ((uint64_t)(c) << 16) + (d))

Is there a reason this is a macro (vs. static inline)?

-- 
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/16765#discussion_r712823776
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210921/fa907adb/attachment.htm>


More information about the notifications mailing list