![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LGstaandart by
Diff: Command.c
- Revision:
- 116:66f1f0ff2dab
- Parent:
- 115:e5a230e5af52
- Child:
- 119:4d7fcece9e8e
--- a/Command.c Tue Apr 05 10:31:28 2016 +0000 +++ b/Command.c Tue Apr 05 16:52:31 2016 +0000 @@ -155,7 +155,7 @@ BuffTemp[24] = 0x00; BuffTemp[25] = 0x00;// ХЗ - Temp = Gyro.AD_Fast >> 16; + Temp = Gyro.PLC_Delta >> 16; BuffTemp[26] = (Temp >> 8) & 0xff; BuffTemp[27] = (Temp >> 0) & 0xff; @@ -175,7 +175,7 @@ BuffTemp[34] = (Temp >> 8) & 0xff;//дельта BuffTemp[35] = (Temp >> 0) & 0xff; - Temp = ((Gyro.Termo)/0xa4)-0x111;//0xa4=164 + Temp = Gyro.Termo;//0xa4=164 BuffTemp[36] =(Temp >> 8) & 0xff;//температура BuffTemp[37] =(Temp >> 0) & 0xff;//ADC6 sesnsor 5