From 5aa4b0e86f4befad1a8a3e49e744c7dd86ab85e1 Mon Sep 17 00:00:00 2001
From: victor <taehoon@falinux.com>
Date: Mon, 3 Apr 2017 16:30:21 +0900
Subject: [PATCH] =?UTF-8?q?=ED=94=84=EB=A1=9C=ED=86=A0=EC=BD=9C=20?=
 =?UTF-8?q?=EB=B3=80=EA=B2=BD=20=EB=8C=80=EC=9D=91(20170330)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/app_oven_controller/app/oven_controller/main_controller.c | 2 +-
 app/app_oven_controller/app/oven_controller/rs485_serial.c    | 1 +
 app/app_oven_controller/include/all_share.h                   | 9 +++++----
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/app/app_oven_controller/app/oven_controller/main_controller.c b/app/app_oven_controller/app/oven_controller/main_controller.c
index a1874ca..f2f1ee7 100644
--- a/app/app_oven_controller/app/oven_controller/main_controller.c
+++ b/app/app_oven_controller/app/oven_controller/main_controller.c
@@ -139,7 +139,7 @@ int   main  ( int argc, char *argv[])
 {
     msec_t      tm_curr;
 
-    printf( "oven controller 1.0.0\n");
+    printf( "oven controller 1.0.1\n");
     printf( "----------------------------------------------\n");
 
     poll_init();
diff --git a/app/app_oven_controller/app/oven_controller/rs485_serial.c b/app/app_oven_controller/app/oven_controller/rs485_serial.c
index 1768b29..5bd63d5 100644
--- a/app/app_oven_controller/app/oven_controller/rs485_serial.c
+++ b/app/app_oven_controller/app/oven_controller/rs485_serial.c
@@ -306,6 +306,7 @@ static void onoff_bit( command_t *pcmd){
     case TG_SSP             :   addr = 0x22; bit= 0x0100; break;
     case TG_UNP             :   addr = 0x22; bit= 0x0200; break;
     case TG_HDM             :   addr = 0x22; bit= 0x0400; break;
+    case TG_SGNV            :   addr = 0x22; bit= 0x0800; break;
     }
 
     switch( pcmd->target){
diff --git a/app/app_oven_controller/include/all_share.h b/app/app_oven_controller/include/all_share.h
index e7a5130..f3c6bd2 100644
--- a/app/app_oven_controller/include/all_share.h
+++ b/app/app_oven_controller/include/all_share.h
@@ -79,7 +79,8 @@ enum target_onoff_t {
     TG_DP,
     TG_SSP,
     TG_UNP,
-    TG_HDM
+    TG_HDM,
+    TG_SGNV
 };
 
 enum {
@@ -126,9 +127,9 @@ typedef struct {
     U16     reserved12;             // 12
     U16     reserved13;             // 13
     U16     clean_type;             // 14
-    U16     reserved15;             // 15
-    U16     reserved16;             // 16
-    U16     reserved17;             // 17
+    U16     clean_total;            // 15
+    U16     clean_step;             // 16
+    U16     clean_step_type;        // 17
     U16     reserved18;             // 18
     U16     manual_auto;            // 19
     U16     bunner1_rpm;            // 1A
-- 
2.1.4