domotics-arduino 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -271,7 +271,7 @@ module Domotics
|
|
271
271
|
listen
|
272
272
|
@logger.info { "done." }
|
273
273
|
@logger.info { "Checking connection with board [#{@port_str}]..." }
|
274
|
-
a, b = 2.times.map { rand
|
274
|
+
a, b = 2.times.map { rand 10 }
|
275
275
|
if send_command(ECHOREPLY, a, b) == [b, a]
|
276
276
|
@logger.info { "done." }
|
277
277
|
else
|