Update main.c

Removed led_off, cause it had no function.
Optimized led_cnt to 8bit.