Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Raptor Engineering Public Development
dsview
Commits
15013c26
Commit
15013c26
authored
5 years ago
by
DreamSourceLab
Browse files
Options
Download
Email Patches
Plain Diff
Fix issue #239
parent
ddd51c28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
libsigrokdecode4DSL/decoders/ps2/pd.py
libsigrokdecode4DSL/decoders/ps2/pd.py
+4
-0
No files found.
libsigrokdecode4DSL/decoders/ps2/pd.py
View file @
15013c26
...
...
@@ -2,6 +2,7 @@
## This file is part of the libsigrokdecode project.
##
## Copyright (C) 2016 Daniel Schulte <trilader@schroedingers-bit.net>
## Copyright (C) 2019 DreamSourceLab <support@dreamsourcelab.com>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
...
...
@@ -120,3 +121,6 @@ class Decoder(srd.Decoder):
# Sample data bits on falling clock edge.
(
clock_pin
,
data_pin
)
=
self
.
wait
({
0
:
'f'
})
self
.
handle_bits
(
data_pin
)
if
(
self
.
bitcount
==
11
):
(
clock_pin
,
data_pin
)
=
self
.
wait
({
0
:
'r'
})
self
.
handle_bits
(
data_pin
)
This diff is collapsed.
Click to expand it.
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