From c5a2d7b4bce43d38857fdb446e6ac73dc21fa53c Mon Sep 17 00:00:00 2001 From: William Woodall Date: Mon, 9 Jul 2012 15:51:38 -0500 Subject: [PATCH] Adding void return type for Arduino example in examples/serial_example.cc. Fixes #20 --- examples/serial_example.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/serial_example.cc b/examples/serial_example.cc index 6c491e3..6b29803 100644 --- a/examples/serial_example.cc +++ b/examples/serial_example.cc @@ -4,11 +4,11 @@ * Alternatively, you could use an Arduino: * *
- *  setup() {
+ *  void setup() {
  *    Serial.begin();
  *  }
  * 
- *  loop() {
+ *  void loop() {
  *    if (Serial.available()) {
  *      Serial.write(Serial.read());
  *    }