Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

brighness change to fit js lib

  • Loading branch information...
commit 564fb243d8f8e38db554a0833688e5723e8cd516 1 parent cadd37e
_john authored April 21, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  firmware_buzzIface/buzzIface.c
2  firmware_buzzIface/buzzIface.c
@@ -233,7 +233,7 @@ uint8_t set_led_state(ledid_t  led_id, uint8_t brightness)
233 233
 	uint8_t ch=led_id.channel;
234 234
 	switch (led_id.led){
235 235
 		case (0) :
236  
-			if (brightness) {
  236
+			if (brightness == '1') {
237 237
 				USART_puts("on(l0)\r\n");
238 238
 				*(cz[ch].led2port) &= ~(cz[ch].led1pin) ;
239 239
 			} else {

0 notes on commit 564fb24

Please sign in to comment.
Something went wrong with that request. Please try again.