## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+## along with this program; if not, see <http://www.gnu.org/licenses/>.
##
import sigrokdecode as srd
('interpretation', 'Interpretation', (5,)),
)
- def __init__(self, **kwargs):
+ def __init__(self):
self.mosi_bytes, self.miso_bytes = [], []
self.mosi_bits, self.miso_bits = [], []
self.row_pos = [0, 0, 0]
else:
c = '%02x %02x' % tuple(cmd)
r = '%02x %02x' % tuple(ret)
- self.putx(0, 16, ['Uknown command: %s (reply: %s)!' % (c, r)])
+ self.putx(0, 16, ['Unknown command: %s (reply: %s)!' % (c, r)])
def decode(self, ss, es, data):
ptype, mosi, miso = data