Skip to content

Commit ddc69d5

Browse files
committed
remove broken flash_raw
1 parent eba44c1 commit ddc69d5

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

VW_Flash.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from pathlib import Path
22
import tqdm
33
import logging
4+
import logging.config
45
import argparse
56
import sys
67
from os import path
@@ -83,7 +84,6 @@
8384
"flash_cal",
8485
"flash_bin",
8586
"flash_frf",
86-
"flash_raw",
8787
"flash_unlock",
8888
"get_ecu_info",
8989
"get_dtcs",
@@ -424,21 +424,6 @@ def wrap_callback_function(flasher_step, flasher_status, flasher_progress):
424424
elif args.action == "flash_bin":
425425
flash_bin(flash_info, input_blocks)
426426

427-
428-
elif args.action == "flash_raw":
429-
t = tqdm.tqdm(
430-
total=100,
431-
colour="green",
432-
ncols=round(shutil.get_terminal_size().columns * 0.75),
433-
)
434-
435-
def wrap_callback_function(flasher_step, flasher_status, flasher_progress):
436-
callback_function(t, flasher_step, flasher_status, float(flasher_progress))
437-
438-
flash_uds.flash_blocks(flash_info, input_blocks, callback=wrap_callback_function)
439-
440-
t.close()
441-
442427
elif args.action == "get_ecu_info":
443428
t = tqdm.tqdm(
444429
total=100,

0 commit comments

Comments
 (0)