Commit 987fdc1b745aa601cc1e35255d8c522b5c35f209
1 parent
62e6723642
Exists in
master
and in
2 other branches
프로토콜 변경 대응(170627)
- 40035에 INV 추가
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
app/app-prime-modbus/app/app-prime-modbus/rs485_serial.c
@@ -315,6 +315,7 @@ static void onoff_bit( command_t *pcmd){ | @@ -315,6 +315,7 @@ static void onoff_bit( command_t *pcmd){ | ||
315 | case TG_UNP : addr = 0x22; bit= 0x0200; break; | 315 | case TG_UNP : addr = 0x22; bit= 0x0200; break; |
316 | case TG_HDM : addr = 0x22; bit= 0x0400; break; | 316 | case TG_HDM : addr = 0x22; bit= 0x0400; break; |
317 | case TG_SGNV : addr = 0x22; bit= 0x0800; break; | 317 | case TG_SGNV : addr = 0x22; bit= 0x0800; break; |
318 | + case TG_INV : addr = 0x22; bit= 0x1000; break; | ||
318 | } | 319 | } |
319 | 320 | ||
320 | switch( pcmd->target){ | 321 | switch( pcmd->target){ |