Skip to content

Commit

Permalink
tools/psoc6/mpy-psoc6.py: Minor fix.
Browse files Browse the repository at this point in the history
Signed-off-by: enriquezgarc <[email protected]>
  • Loading branch information
jaenrig-ifx committed Jan 17, 2024
1 parent f1917e9 commit f17e092
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/psoc6/mpy-psoc6.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ def colour_str_success(msg):


def colour_str_error(msg):
green_str_start = "\x1b[1;31;40m"
red_str_start = "\x1b[1;31;40m"
str_color_end = "\x1b[0m"
return green_str_start + msg + str_color_end
return red_str_start + msg + str_color_end


def colour_str_highlight(msg):
green_str_start = "\x1b[1;35;40m"
purple_str_start = "\x1b[1;35;40m"
str_color_end = "\x1b[0m"
return green_str_start + msg + str_color_end
return purple_str_start + msg + str_color_end


def set_environment():
Expand Down

0 comments on commit f17e092

Please sign in to comment.