From dce856c1a16098fe7a1df2338df60073261da94a Mon Sep 17 00:00:00 2001 From: Vasilii Chernov Date: Tue, 9 Feb 2016 17:32:11 +0100 Subject: Add write_register python wrap. Add no_set_check attribute to pcilib_view_t type --- xml/test_pywrap/test_prop2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xml/test_pywrap/test_prop2.py') diff --git a/xml/test_pywrap/test_prop2.py b/xml/test_pywrap/test_prop2.py index 68c6f1e..a831fdd 100644 --- a/xml/test_pywrap/test_prop2.py +++ b/xml/test_pywrap/test_prop2.py @@ -1,7 +1,7 @@ import pcipywrap def read_from_register(): - return pcipywrap.get_property('/registers/fpga/reg1') / 3 + return pcipywrap.get_property('/registers/fpga/reg1') / 2 def write_to_register(value): pcipywrap.set_property('/registers/fpga/reg1', value*3) -- cgit v1.2.3