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