summaryrefslogtreecommitdiff
path: root/error_utils.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-29 12:02:19 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-29 12:02:19 -0400
commit996f3d52275475f2478f377f12f0ef7571ecc795 (patch)
treeaf2e41489f3d1e6bccd3eb8e06063b2eeb15fc87 /error_utils.c
parent7c608618ce40421f1281bcdafd5616da7d1d7429 (diff)
added function to test broadcast messages
Diffstat (limited to 'error_utils.c')
-rw-r--r--error_utils.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/error_utils.c b/error_utils.c
index a9cd2ae..4481205 100644
--- a/error_utils.c
+++ b/error_utils.c
@@ -143,9 +143,13 @@ void queue_error_and_display_on_LCD(int error_num)
void queue_and_broadcast_sensor_alarm(int error_num) // FIXME - implement
{
-// not part of this project, but left in for coder's reference. Can be deleted for now
+ gchar* response = NULL;
+ queue_error_and_get_text(&response, error_num);
+ LCD_display_extended_message (response, TRUE, TRUE);
+ g_free (response);
}
+
/*----------------------------------------------------------------------------------------------------------*/
void Error_Remove_From_Queue(void)
{