selecting MF on reset and power up
This commit is contained in:
@@ -38,6 +38,7 @@ class SmartcardOS(object):
|
|||||||
|
|
||||||
def powerUp(self):
|
def powerUp(self):
|
||||||
"""Powers up the card"""
|
"""Powers up the card"""
|
||||||
|
self.mf.current = self.mf
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def powerDown(self):
|
def powerDown(self):
|
||||||
@@ -46,6 +47,7 @@ class SmartcardOS(object):
|
|||||||
|
|
||||||
def reset(self):
|
def reset(self):
|
||||||
"""Performs a warm reset of the card (no power down)"""
|
"""Performs a warm reset of the card (no power down)"""
|
||||||
|
self.mf.current = self.mf
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def execute(self, msg):
|
def execute(self, msg):
|
||||||
|
|||||||
Reference in New Issue
Block a user