Skip to content

Commit

Permalink
fix: Fixed chipwhisperer imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomko10 authored and J08nY committed Dec 7, 2022
1 parent 5bfcfa8 commit 28906aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyecsca/sca/target/chipwhisperer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from time import sleep

import chipwhisperer as cw
from chipwhisperer.capture.scopes.base import ScopeTemplate
from chipwhisperer.capture.targets import SimpleSerial
from chipwhisperer.capture.scopes import ScopeTypes
from chipwhisperer.capture.targets.SimpleSerial import SimpleSerial
from public import public

from .flash import Flashable
Expand All @@ -21,7 +21,7 @@ class ChipWhispererTarget(Flashable, SimpleSerialTarget): # pragma: no cover
"""ChipWhisperer-based target, using the SimpleSerial protocol and communicating using ChipWhisperer-Lite/Pro."""

def __init__(
self, target: SimpleSerial, scope: ScopeTemplate, programmer, **kwargs
self, target: SimpleSerial, scope: ScopeTypes, programmer, **kwargs
):
super().__init__()
self.target = target
Expand Down

0 comments on commit 28906aa

Please sign in to comment.