lib/artoo/drivers/maxbotix.rb in artoo-gpio-0.0.1 vs lib/artoo/drivers/maxbotix.rb in artoo-gpio-0.1.0

- old
+ new

@@ -33,10 +33,10 @@ super end # Publishes events according to the ultrasonic rangefinder value def update(value) - last_reading = value + @last_reading = value publish(event_topic_name("update"), "range", range) publish(event_topic_name("range"), range) end end end