![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LG2 by
Diff: SPI.c
- Revision:
- 105:bd01d8d20fb6
- Parent:
- 104:ab1cb4ff56b2
- Child:
- 109:ee0cff33ad3b
diff -r ab1cb4ff56b2 -r bd01d8d20fb6 SPI.c --- a/SPI.c Thu Mar 31 10:16:56 2016 +0000 +++ b/SPI.c Thu Mar 31 14:03:40 2016 +0000 @@ -79,8 +79,7 @@ ADD_AMP+=Spi.ADC5; Count_AMP++; - - + if(Gyro.RgConA&0x2){ if(Count_AMP>=(32*32)) { Delta = ADD_AMP - Cur_Amp; @@ -98,7 +97,7 @@ } Cur_Amp=ADD_AMP; Count_AMP=0; ADD_AMP=0; } - + }