# HG changeset patch
# User jfp <jf.pieronne@laposte.net>
# Date 1737049071 -3600
#      Thu Jan 16 18:37:51 2025 +0100
# Node ID ee507f63361f98ee7b34bf04a6251687bc83aadb
# Parent  81352acd5b36d33a5b14a4558cbd96fee4f99ed0
Temporary disable IOSB check in ptd_write

diff --git a/python/local/ovms_module/ovms/ptd/_vmsptd.pyx b/python/local/ovms_module/ovms/ptd/_vmsptd.pyx
--- a/python/local/ovms_module/ovms/ptd/_vmsptd.pyx
+++ b/python/local/ovms_module/ovms/ptd/_vmsptd.pyx
@@ -420,8 +420,8 @@
                       handler.handler.buflen - 1024 - 4)
     checkStatus(s)
     s = (<unsigned short *>(handler.handler.inadr.va_range_ps_start_va))[0]
-    if s != 0:
-        checkStatus(s)
+    # if s != 0:
+    #    checkStatus(s)
     cdef char* buf = <char *>(handler.handler.inadr.va_range_ps_start_va) + 4
     cdef unsigned short* retlenPtr = <unsigned short *>(buf - 2)
     return s, buf[:retlenPtr[0]]