Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: IRSensor.cpp
- Revision:
- 1:3396e2b3a62b
- Parent:
- 0:608fcd3255ca
--- a/IRSensor.cpp Fri Apr 20 08:10:17 2018 +0000
+++ b/IRSensor.cpp Fri Apr 20 09:16:34 2018 +0000
@@ -26,7 +26,7 @@
// IR Sensor Right
-IRSensor::IRSensor(AnalogIn& IrRight, AnalogIn IrLeft, AnalogIn IrFront) : IrRight(IrRight), IrLeft(IrLeft), IrFront(IrFront){}
+IRSensor::IRSensor(AnalogIn& IrRight, AnalogIn& IrLeft, AnalogIn& IrFront) : IrRight(IrRight), IrLeft(IrLeft), IrFront(IrFront){}
IRSensor::~IRSensor(){}