From bb37d89de93d05c70ee921e0317ebc3a77e29fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sun, 11 Dec 2016 23:47:59 +0100 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e748be1..4c580b8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,8 +33,11 @@ uint8_t OuterVariable; Function scoped variables and function parameters are written with lowerCamelCase. ``` -uint8_t myVariable; -void MyFunction(uint8_t myArg1, uint8_t myArg2); +void MyFunction(uint8_t myArg1, uint8_t myArg2) +{ + uint8_t myVariable; + .... +} ``` Type names are written with underscores, and end with `_t`. Type members are written with lowerCamelCase.