Permalink
Browse files

brighness change to fit js lib

  • Loading branch information...
1 parent cadd37e commit 564fb243d8f8e38db554a0833688e5723e8cd516 @tuxcodejohn tuxcodejohn committed Apr 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 firmware_buzzIface/buzzIface.c
@@ -233,7 +233,7 @@ uint8_t set_led_state(ledid_t led_id, uint8_t brightness)
uint8_t ch=led_id.channel;
switch (led_id.led){
case (0) :
- if (brightness) {
+ if (brightness == '1') {
USART_puts("on(l0)\r\n");
*(cz[ch].led2port) &= ~(cz[ch].led1pin) ;
} else {

0 comments on commit 564fb24

Please sign in to comment.