From 7cd1eee07d98b76b3deb51da416058372073529e Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 2 Jun 2017 13:40:17 -0700 Subject: [PATCH] our guidance on inline functions is a little bit difference because we're targeting embedded devices --- doc/CODING_STYLE.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/CODING_STYLE.html b/doc/CODING_STYLE.html index c142f81b..eb36bca6 100644 --- a/doc/CODING_STYLE.html +++ b/doc/CODING_STYLE.html @@ -354,8 +354,11 @@ of Includes for rules about when to #include a header.

Inline Functions

+

Define functions inline only when they are small, say, 10 lines or fewer.

+
+

Define inline functions when required to do so in order to get the compiler to generate more compact code.