lib/sgs/config.rb in sgslib-0.2.4 vs lib/sgs/config.rb in sgslib-0.2.5
- old
+ new
@@ -28,12 +28,12 @@
class Config < RedisBase
attr_accessor :otto_device, :gps_device, :comm_device
attr_accessor :otto_speed, :gps_speed, :comm_speed
def initialize
- @otto_dev = "/dev/ttyU0"
- @gps_dev = "/dev/ttyU1"
- @comm_dev = "/dev/ttyU2"
+ @otto_device = "/dev/ttyU0"
+ @gps_device = "/dev/ttyU1"
+ @comm_device = "/dev/ttyU2"
@otto_speed = @gps_speed = @comm_speed = 9600
super()
end
#