Ejemplo n.º 1
0
// This function updates the status LED's, this way we can get the status
// back after leaving Meter mode.
static void updateStatusLEDs(void)
{
	if (LEDmode) return;
	targetSetLED (TGT_LED2, driverAttached ? TGT_LED_ON : TGT_LED_OFF);
	targetSetLED (TGT_LED3, isLocked  ? TGT_LED_ON : TGT_LED_OFF);
	targetSetLED (TGT_LED4, aesIsMasterLocked () ? TGT_LED_ON : TGT_LED_OFF);
	targetSetLED (TGT_LED5, adatIsLocked() ? TGT_LED_ON : TGT_LED_OFF);
}
Ejemplo n.º 2
0
// This function updates the status LED's, this way we can get the status
// back after leaving Meter mode.
static void updateStatusLEDs(void)
{
	if (LEDmode) return;
	targetSetLED (TGT_LED9, driverAttached ? TGT_LED_ON : TGT_LED_OFF);
	targetSetLED (TGT_LED10, isLocked  ? TGT_LED_OFF : TGT_LED_ON);
}