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
@@ -139,7 +139,7 @@ int main ( int argc, char *argv[]) | @@ -139,7 +139,7 @@ int main ( int argc, char *argv[]) | ||
139 | { | 139 | { |
140 | msec_t tm_curr; | 140 | msec_t tm_curr; |
141 | 141 | ||
142 | - printf( "oven controller 1.0.0\n"); | 142 | + printf( "oven controller 1.0.1\n"); |
143 | printf( "----------------------------------------------\n"); | 143 | printf( "----------------------------------------------\n"); |
144 | 144 | ||
145 | poll_init(); | 145 | poll_init(); |
app/app_oven_controller/app/oven_controller/rs485_serial.c
@@ -306,6 +306,7 @@ static void onoff_bit( command_t *pcmd){ | @@ -306,6 +306,7 @@ static void onoff_bit( command_t *pcmd){ | ||
306 | case TG_SSP : addr = 0x22; bit= 0x0100; break; | 306 | case TG_SSP : addr = 0x22; bit= 0x0100; break; |
307 | case TG_UNP : addr = 0x22; bit= 0x0200; break; | 307 | case TG_UNP : addr = 0x22; bit= 0x0200; break; |
308 | case TG_HDM : addr = 0x22; bit= 0x0400; break; | 308 | case TG_HDM : addr = 0x22; bit= 0x0400; break; |
309 | + case TG_SGNV : addr = 0x22; bit= 0x0800; break; | ||
309 | } | 310 | } |
310 | 311 | ||
311 | switch( pcmd->target){ | 312 | switch( pcmd->target){ |
app/app_oven_controller/include/all_share.h
@@ -79,7 +79,8 @@ enum target_onoff_t { | @@ -79,7 +79,8 @@ enum target_onoff_t { | ||
79 | TG_DP, | 79 | TG_DP, |
80 | TG_SSP, | 80 | TG_SSP, |
81 | TG_UNP, | 81 | TG_UNP, |
82 | - TG_HDM | 82 | + TG_HDM, |
83 | + TG_SGNV | ||
83 | }; | 84 | }; |
84 | 85 | ||
85 | enum { | 86 | enum { |
@@ -126,9 +127,9 @@ typedef struct { | @@ -126,9 +127,9 @@ typedef struct { | ||
126 | U16 reserved12; // 12 | 127 | U16 reserved12; // 12 |
127 | U16 reserved13; // 13 | 128 | U16 reserved13; // 13 |
128 | U16 clean_type; // 14 | 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 | U16 reserved18; // 18 | 133 | U16 reserved18; // 18 |
133 | U16 manual_auto; // 19 | 134 | U16 manual_auto; // 19 |
134 | U16 bunner1_rpm; // 1A | 135 | U16 bunner1_rpm; // 1A |