![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LGstaandart by
Diff: main.c
- Revision:
- 208:19150d2b528f
- Parent:
- 205:775d54fdf646
- Child:
- 209:224e7331a061
--- a/main.c Fri Jan 13 08:27:28 2017 +0000 +++ b/main.c Tue Feb 07 10:11:35 2017 +0000 @@ -25,7 +25,7 @@ unsigned int secPuls; float DACF, K_DAC; int tempAMP; -int temp; +int temp=1; unsigned int status; unsigned int Para; int main (void) @@ -34,8 +34,8 @@ SystemCoreClockUpdate1(); // расчет тактовой частоты процессора перед инициализацией UART - 103MHz Param_init(); GLD_Init(); - //BackLightOFF - //LightUpOFF + BackLightOFF + LightUpOFF UART_InitSet (0, 921600, 0x03); UART_InitSet (1, 921600, 0x03); @@ -44,10 +44,10 @@ UART_InitSet (1, 115200, 0x03); */ Out_G_photo(Gyro.Gain_Sin, Gyro.Gain_Cos); while ( 1 ) { + // if (GyroP.Str.FlashMod) {GyroP.Str.FlashMod=0; Gyro.FlashMod=2;} Event_100KHz(); Event_1KHz(); Event_500Hz(); - // Event_250Hz(); Event_1Hz(); Event_Vibro(); @@ -70,9 +70,10 @@ case 1: GoBoot(); break; case 2: WriteFlash(); break; case 3: ReadFlash(); break; - case 4: EraseFlash(); break; - }//LoopOff - } + case 4: EraseFlash(); break; + } + + } }//main /******************************************************************************