# HG changeset patch
# User Edouard Tisserant
# Date 1600171026 -7200
# Node ID 6e4a956210808af49012bcb83cb7a68759a22801
# Parent  4de6a587f7f938e32f3734a79f9cdccaf1858669
Modbus: fixed typo in ctype typing.

diff -r 4de6a587f7f9 -r 6e4a95621080 modbus/web_settings.py
--- a/modbus/web_settings.py	Fri Sep 11 13:46:41 2020 +0200
+++ b/modbus/web_settings.py	Tue Sep 15 13:57:06 2020 +0200
@@ -183,7 +183,7 @@
     ("baud"             , _("Baud Rate")             , ctypes.c_int,       MB_Baud         ),
     ("parity"           , _("Parity")                , ctypes.c_int,       MB_Parity       ),
     ("stop_bits"        , _("Stop Bits")             , ctypes.c_int,       MB_StopBits     ),
-    ("slave_id"         , _("Slave ID")              , ctypes.c_ulonglong, annotate.Integer)
+    ("slave_id"         , _("Slave ID")              , ctypes.c_ubyte,     annotate.Integer)
     ]