aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/cpp/define.rst
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-06-10 09:10:03 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-06-10 09:10:03 -0400
commit036c04bbe6c75f71a66fad90530ac1dec5e47b53 (patch)
tree38b1b0a8d57bb47389d3f79ef1b36a0a5789c165 /source/lang/cpp/define.rst
parenta2f4a145b2349638cf68e03efa4553055bd50315 (diff)
downloadlibrambutan-036c04bbe6c75f71a66fad90530ac1dec5e47b53.tar.gz
librambutan-036c04bbe6c75f71a66fad90530ac1dec5e47b53.zip
Docs: Use "BOARD_LED_PIN" instead of "13".
Fix examples where pin 13 was used explicitly instead of BOARD_LED_PIN. Also change an AVR-specific example in docs/lang/cpp/booleanvariables.rst to Maple conventions.
Diffstat (limited to 'source/lang/cpp/define.rst')
-rw-r--r--source/lang/cpp/define.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/lang/cpp/define.rst b/source/lang/cpp/define.rst
index bdf7283..b22085f 100644
--- a/source/lang/cpp/define.rst
+++ b/source/lang/cpp/define.rst
@@ -43,9 +43,9 @@ Example
::
- #define LED_PIN 13
- // The compiler will replace any mention of LED_PIN with
- // the value 3 at compile time.
+ #define MAPLE_LED_PIN 13
+ // The compiler will replace any mention of MAPLE_LED_PIN with
+ // the value 13 at compile time.
See Also
--------