![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
Diff: Command.c
- Revision:
- 174:daffcc97d532
- Parent:
- 172:ef7bf1663645
- Child:
- 177:1666a83d88a5
diff -r 7f938afb0447 -r daffcc97d532 Command.c --- a/Command.c Sun Jun 19 03:54:35 2016 +0000 +++ b/Command.c Fri Jun 24 13:57:34 2016 +0000 @@ -976,16 +976,16 @@ WriteCon(Time); for (int i = 0; i < 32; i++ )sprintf((Time + i * 9)," <%05d> ", Buff_16PointD[i]); WriteCon(Time); - }/* + } if (Time[0] == 'z'){ // выдача технологическая sprintf(Time,"\r\n"); WriteCon(Time); for (int i = 0; i < 32; i++ ) { - ttemp=(Buff_16PointD[i]); - if (ttemp < 0) WriteCon("1"); else WriteCon("0"); + ttemp=(Buff_Restored_sin[i]); + if (ttemp > 0) WriteCon("1"); else WriteCon("0"); } - }*/ + } if (Time[0] == '5'){ // выдача технологическая sprintf(Time,"\r\n"); WriteCon(Time); @@ -1044,7 +1044,7 @@ if (Time[0] == 'k') Gyro.LogPLC = 0; //Отключить передачу if (Time[0] == 'd') Gyro.ModJump = 1; //прыжок на воду + if (Time[0] == 'f') Gyro.ModJump = 2; //прыжок на воду - - if (Time[0] == 'z') {Gyro.ModJump = 3; Spi.DAC_B = 0x3a98; } //прообежать по всем модам. + //if (Time[0] == 'z') {Gyro.ModJump = 3; Spi.DAC_B = 0x3a98; } //прообежать по всем модам. ////////////////////////////////////////////////////////////////////////////////////// if (Time[0] == '8') { // выдача технологическая sprintf(Time,"\r\n");