示例#1
0
void renderLED(void) {
	if(!ledInited) return;
	if(isSleep()){	
		return;
	}

	blinkCapsLockLED();
	blinkNumLockLED();

#ifndef SCROLL_LOCK_LED_IS_APART
	// s/l led
	blinkScrollLockLED();
#endif

	// LED 모드 저장.
	writeLEDMode();

	/* LED Fader */	
	fadePWM();
}
示例#2
0
文件: ledrender.c 项目: fixed/ps2avrU
void renderLED(void) {
	if (!ledInited || isSleep()) {
		return;
	}

	blinkBootMapperLED();
	blinkIndicateLED();

#ifndef SCROLL_LOCK_LED_IS_APART
	// s/l led
	blinkScrollLockLED();
#endif

	// LED 모드 저장.
	writeLEDMode();

	if(_ledOff) return;

	/* LED Fader */
	fadePWM();
}