Revert "CS-171 Add R2 support"

This commit is contained in:
Ghostkeeper 2019-09-06 14:00:04 +00:00 committed by GitHub
parent 7ff7ab53bf
commit 82aa0492ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 10 additions and 33 deletions

View file

@ -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: