Skip to content
Browse files

Fixed issue #11

  • Loading branch information...
1 parent 0760b8d commit c3b2d2548dccd0df67e2cde48f9f28d670fd5de2 @flipback committed
Showing with 7 additions and 2 deletions.
  1. +5 −0 NEWS.md
  2. +1 −1 lib/rmodbus/rtu.rb
  3. +1 −1 lib/rmodbus/version.rb
View
5 NEWS.md
@@ -1,3 +1,8 @@
+2011-08-10 Release 1.0.4
+====================================
+1. Fixed issue [#11](https://github.com/flipback/rmodbus/issues/9)
+
+
2011-07-17 Release 1.0.3
====================================
View
2 lib/rmodbus/rtu.rb
@@ -38,7 +38,7 @@ def read_rtu_response(io)
when 22 then
msg += io.read(8)
when 0x80..0xff then
- msg += io.read(4)
+ msg += io.read(3)
else
raise ModBus::Errors::IllegalFunction, "Illegal function: #{function_code}"
end
View
2 lib/rmodbus/version.rb
@@ -13,5 +13,5 @@
# GNU General Public License for more details.
module ModBus
# Package version
- VERSION = '1.0.4dev'
+ VERSION = '1.0.4'
end

0 comments on commit c3b2d25

Please sign in to comment.
Something went wrong with that request. Please try again.