Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Production Test Suite
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Production Test Suite
Commits
070093e2
Commit
070093e2
authored
Jun 07, 2011
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test00: increase tolerance in Vadj up to 4%
parent
d1fa719f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test00.py
test/spec/python/test00.py
+2
-2
No files found.
test/spec/python/test00.py
View file @
070093e2
...
...
@@ -166,8 +166,8 @@ def main (default_directory='.'):
value1
=
adc_value
(
adc
.
rd_reg16
(
0x80
));
# Check the values of the ADC.
if
(
float
(
value8
)
<
1.61
)
or
(
float
(
value8
)
>
1.7
2
)
:
raise
TpsError
(
"Error in VS_VADJ, value x="
+
value8
+
". x > 1.7
2
V or x < 1.61 V"
)
if
(
float
(
value8
)
<
1.61
)
or
(
float
(
value8
)
>
1.7
3
)
:
raise
TpsError
(
"Error in VS_VADJ, value x="
+
value8
+
". x > 1.7
3
V or x < 1.61 V"
)
print
"VS_VADJ = "
+
value8
if
(
float
(
value7
)
<
1.90
)
or
(
float
(
value7
)
>
2.11
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment