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))
{
set=1;
i=0;
i2++;
if(i2==6)
{
i2=0;
}
i=0;
i2++;
if(i2==6)
{
i2=0;
}
//Visual feedback "mode change"
for(i3=0;i3<i2;i3++)
{
setrgb(0,0,0);
pre_delay = ms;
while((ms-pre_delay) < 200);
setrgb(0,200,0);
pre_delay = ms;
while((ms-pre_delay) < 200){};
}
for(i3=0;i3<i2;i3++)
{
setrgb(0,0,0);
pre_delay = ms;
while((ms-pre_delay) < 200);
setrgb(0,200,0);
pre_delay = ms;
while((ms-pre_delay) < 200){};
}
}
else if(((input & (1<<PB2)) != 0))
{