summaryrefslogtreecommitdiff
path: root/error_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'error_utils.c')
-rw-r--r--error_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error_utils.c b/error_utils.c
index 6055ae5..dfd6f93 100644
--- a/error_utils.c
+++ b/error_utils.c
@@ -446,11 +446,11 @@ void get_error_text(gchar **response, int error_num)
break;
case Overtemp_Detected:
- format_error_text(response,-300,"Overheating or interlock problem. Output disabled.");
+ format_error_text(response,-300,globals.Flash.ot_error_message);
break;
case Overvolt_Detected:
- format_error_text(response,-300,"Over-voltage or over-current. Output disabled.");
+ format_error_text(response,-300,globals.Flash.ov_error_message);
break;
case Soft_Limit_Exceeded: