version 0.20

This commit is contained in:
NIIBE Yutaka
2012-06-19 10:19:26 +09:00
parent cb8ee10292
commit b3c15ce93c
9 changed files with 46 additions and 38 deletions

View File

@@ -94,7 +94,7 @@ STATE_DFU_ERROR = 0x0a
def get_four_bytes (v):
return [ v % 256, (v >> 8)%256, (v >> 16)%256, (v >> 24) ]
class DFU_STM32:
class DFU_STM32(object):
def __init__(self, device, configuration, interface):
"""
__init__(device, configuration, interface) -> None