Revision 1112
branches/library_refactor/projects/libdragonfly/lights.c | ||
---|---|---|
239 | 239 |
} |
240 | 240 |
|
241 | 241 |
// Turn only the appropriate PWM channels on |
242 |
// TODO: why do we have to turn them off? It should be done in the oc isr. |
|
243 |
// Test code: set (0); set (255); delay (100ms); set (0) => blu/green is on |
|
244 |
// Does it also happen with 254 instead of 255? But isn't it turned off with |
|
245 |
// 255? Better turn them off anyway. |
|
242 | 246 |
ORBPORT|=all_orbs_mask; |
243 | 247 |
ORBPORT&=pwm_read_buffer->init_mask; |
244 | 248 |
|
Also available in: Unified diff