Commit 5aa4b0e86f4befad1a8a3e49e744c7dd86ab85e1
1 parent
00a5124847
Exists in
master
and in
2 other branches
프로토콜 변경 대응(20170330)
Showing
3 changed files
with
7 additions
and
5 deletions
Show diff stats
app/app_oven_controller/app/oven_controller/main_controller.c
app/app_oven_controller/app/oven_controller/rs485_serial.c
... | ... | @@ -306,6 +306,7 @@ static void onoff_bit( command_t *pcmd){ |
306 | 306 | case TG_SSP : addr = 0x22; bit= 0x0100; break; |
307 | 307 | case TG_UNP : addr = 0x22; bit= 0x0200; break; |
308 | 308 | case TG_HDM : addr = 0x22; bit= 0x0400; break; |
309 | + case TG_SGNV : addr = 0x22; bit= 0x0800; break; | |
309 | 310 | } |
310 | 311 | |
311 | 312 | switch( pcmd->target){ | ... | ... |
app/app_oven_controller/include/all_share.h
... | ... | @@ -79,7 +79,8 @@ enum target_onoff_t { |
79 | 79 | TG_DP, |
80 | 80 | TG_SSP, |
81 | 81 | TG_UNP, |
82 | - TG_HDM | |
82 | + TG_HDM, | |
83 | + TG_SGNV | |
83 | 84 | }; |
84 | 85 | |
85 | 86 | enum { |
... | ... | @@ -126,9 +127,9 @@ typedef struct { |
126 | 127 | U16 reserved12; // 12 |
127 | 128 | U16 reserved13; // 13 |
128 | 129 | U16 clean_type; // 14 |
129 | - U16 reserved15; // 15 | |
130 | - U16 reserved16; // 16 | |
131 | - U16 reserved17; // 17 | |
130 | + U16 clean_total; // 15 | |
131 | + U16 clean_step; // 16 | |
132 | + U16 clean_step_type; // 17 | |
132 | 133 | U16 reserved18; // 18 |
133 | 134 | U16 manual_auto; // 19 |
134 | 135 | U16 bunner1_rpm; // 1A | ... | ... |