Skip to content

Commit 5daa753

Browse files
committed
Add missing definition of touch_sensor::mode_touch
1 parent 56589aa commit 5daa753

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ev3dev.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,12 @@ i2c_sensor::i2c_sensor(address_type address) :
604604

605605
//-----------------------------------------------------------------------------
606606

607+
//~autogen generic-define-property-value specialSensorTypes.touchSensor>currentClass
608+
609+
const std::string touch_sensor::mode_touch{ "TOUCH" };
610+
611+
//~autogen
612+
607613
touch_sensor::touch_sensor(address_type address) :
608614
sensor(address, { ev3_touch, nxt_touch })
609615
{

0 commit comments

Comments
 (0)