123
Fork of LG by
Diff: Command.c
- Revision:
- 172:ef7bf1663645
- Parent:
- 171:d227a6045305
- Child:
- 175:daffcc97d532
--- a/Command.c Thu Jun 09 10:19:23 2016 +0000 +++ b/Command.c Fri Jun 17 13:54:50 2016 +0000 @@ -547,8 +547,8 @@ BuffTemp[34] = (Temp >> 8) & 0xff;//дельта BuffTemp[35] = (Temp >> 0) & 0xff; - Temp = Gyro.Termo;//0xa4=164 - + Temp = Gyro.Termo; + Temp = (0x7fff + Temp)/164; BuffTemp[36] =(Temp >> 8) & 0xff;//температура BuffTemp[37] =(Temp >> 0) & 0xff;//ADC6 sesnsor 5 @@ -689,7 +689,9 @@ } void Gph_W() { - Out_G_photo(BuffTemp[4],BuffTemp[5]); + Gyro.flagGph_W=3; + Out_G_photo(BuffTemp[4],BuffTemp[5]); + } void CMD_M_vib()