Skip to content

Commit a9ddc62

Browse files
generate: template: devices: Fix typo about verify
Signed-off-by: Patrick José Pereira <[email protected]>
1 parent 83f4e6c commit a9ddc62

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

generate/templates/omniscan450.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Omniscan450(PingDevice):
7575
# @param {{field.name}} - {% if field.units %}Units: {{field.units}}; {% endif %}{{field.description}}
7676
{% endfor %}
7777
#
78-
# @return If verify is False, True on successful communication with the device. If verify is False, True if the new device parameters are verified to have been written correctly. False otherwise (failure to read values back or on verification failure)
78+
# @return If verify is False, True on successful communication with the device. If verify is True, True if the new device parameters are verified to have been written correctly. False otherwise (failure to read values back or on verification failure)
7979
def {{msg}}(self{% for field in messages["set"][msg].payload %}, {{field.name}}{% endfor %}, verify=True):
8080
m = pingmessage.PingMessage(definitions.OMNISCAN450_{{msg|upper}})
8181
{% for field in messages["set"][msg].payload %}

generate/templates/ping1d.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Ping1D(PingDevice):
6666
# @param {{field.name}} - {% if field.units %}Units: {{field.units}}; {% endif %}{{field.description}}
6767
{% endfor %}
6868
#
69-
# @return If verify is False, True on successful communication with the device. If verify is False, True if the new device parameters are verified to have been written correctly. False otherwise (failure to read values back or on verification failure)
69+
# @return If verify is False, True on successful communication with the device. If verify is True, True if the new device parameters are verified to have been written correctly. False otherwise (failure to read values back or on verification failure)
7070
def {{msg}}(self{% for field in messages["set"][msg].payload %}, {{field.name}}{% endfor %}, verify=True):
7171
m = pingmessage.PingMessage(definitions.PING1D_{{msg|upper}})
7272
{% for field in messages["set"][msg].payload %}

generate/templates/ping360.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Ping360(PingDevice):
5353
# @param {{field.name}} - {% if field.units %}Units: {{field.units}}; {% endif %}{{field.description}}
5454
{% endfor %}
5555
#
56-
# @return If verify is False, True on successful communication with the device. If verify is False, True if the new device parameters are verified to have been written correctly. False otherwise (failure to read values back or on verification failure)
56+
# @return If verify is False, True on successful communication with the device. If verify is True, True if the new device parameters are verified to have been written correctly. False otherwise (failure to read values back or on verification failure)
5757
def {{msg}}(self{% for field in messages["set"][msg].payload %}, {{field.name}}{% endfor %}, verify=True):
5858
m = pingmessage.PingMessage(definitions.PING360_{{msg|upper}})
5959
{% for field in messages["set"][msg].payload %}

generate/templates/s500.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class S500(PingDevice):
7171
# @param {{field.name}} - {% if field.units %}Units: {{field.units}}; {% endif %}{{field.description}}
7272
{% endfor %}
7373
#
74-
# @return If verify is False, True on successful communication with the device. If verify is False, True if the new device parameters are verified to have been written correctly. False otherwise (failure to read values back or on verification failure)
74+
# @return If verify is False, True on successful communication with the device. If verify is True, True if the new device parameters are verified to have been written correctly. False otherwise (failure to read values back or on verification failure)
7575
def {{msg}}(self{% for field in messages["set"][msg].payload %}, {{field.name}}{% endfor %}, verify=True):
7676
m = pingmessage.PingMessage(definitions.S500_{{msg|upper}})
7777
{% for field in messages["set"][msg].payload %}

generate/templates/surveyor240.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Surveyor240(PingDevice):
7373
# @param {{field.name}} - {% if field.units %}Units: {{field.units}}; {% endif %}{{field.description}}
7474
{% endfor %}
7575
#
76-
# @return If verify is False, True on successful communication with the device. If verify is False, True if the new device parameters are verified to have been written correctly. False otherwise (failure to read values back or on verification failure)
76+
# @return If verify is False, True on successful communication with the device. If verify is True, True if the new device parameters are verified to have been written correctly. False otherwise (failure to read values back or on verification failure)
7777
def {{msg}}(self{% for field in messages["set"][msg].payload %}, {{field.name}}{% endfor %}, verify=True):
7878
m = pingmessage.PingMessage(definitions.SURVEYOR240_{{msg|upper}})
7979
{% for field in messages["set"][msg].payload %}

0 commit comments

Comments
 (0)