Remove spaces, rearange tabs

This commit is contained in:
ccppi 2024-03-14 21:38:56 +00:00
parent 32a72c84fc
commit 37274f93f7

30
main.c
View File

@ -87,22 +87,22 @@ sei(); //ENABLE Global Interrupts
if(((input & (1<<PB2)) == 0 && set==0)) if(((input & (1<<PB2)) == 0 && set==0))
{ {
set=1; set=1;
i=0; i=0;
i2++; i2++;
if(i2==6) if(i2==6)
{ {
i2=0; i2=0;
} }
//Visual feedback "mode change" //Visual feedback "mode change"
for(i3=0;i3<i2;i3++) for(i3=0;i3<i2;i3++)
{ {
setrgb(0,0,0); setrgb(0,0,0);
pre_delay = ms; pre_delay = ms;
while((ms-pre_delay) < 200); while((ms-pre_delay) < 200);
setrgb(0,200,0); setrgb(0,200,0);
pre_delay = ms; pre_delay = ms;
while((ms-pre_delay) < 200){}; while((ms-pre_delay) < 200){};
} }
} }
else if(((input & (1<<PB2)) != 0)) else if(((input & (1<<PB2)) != 0))
{ {