mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Revert "CS-171 Add R2 support"
This commit is contained in:
parent
7ff7ab53bf
commit
82aa0492ea
9 changed files with 10 additions and 33 deletions
|
@ -5,16 +5,13 @@ See: http://en.wikipedia.org/wiki/Intel_HEX
|
|||
This is a python 3 conversion of the code created by David Braam for the Cura project.
|
||||
"""
|
||||
import io
|
||||
from typing import List
|
||||
|
||||
from UM.Logger import Logger
|
||||
|
||||
|
||||
def readHex(filename: str) -> List[int]:
|
||||
def readHex(filename):
|
||||
"""
|
||||
Read an verify an intel hex file. Return the data as an list of bytes.
|
||||
"""
|
||||
data = [] # type: List[int]
|
||||
data = []
|
||||
extra_addr = 0
|
||||
f = io.open(filename, "r", encoding = "utf-8")
|
||||
for line in f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue