Changeset 1985:ce95743a54be in roaraudio


Ignore:
Timestamp:
06/13/09 03:30:48 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

of cause it is self->channel not only channel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_pwmled.c

    r1984 r1985  
    101101  return -1; 
    102102 
    103  if ( roar_light_pwm_set(&(self->state), ((unsigned char*)buf)[channel] / 16) == -1 ) 
     103 if ( roar_light_pwm_set(&(self->state), ((unsigned char*)buf)[self->channel] / 16) == -1 ) 
    104104  return -1; 
    105105 
Note: See TracChangeset for help on using the changeset viewer.