20 lines
625 B
C
20 lines
625 B
C
#ifndef __DRV_DO_H_
|
|
#define __DRV_DO_H_
|
|
|
|
#define DRV_DO1 "/sys/class/leds/do1/brightness"
|
|
#define DRV_DO2 "/sys/class/leds/do2/brightness"
|
|
#define DRV_DO3 "/sys/class/leds/do3/brightness"
|
|
#define DRV_DO4 "/sys/class/leds/do4/brightness"
|
|
#define DRV_DO5 "/sys/class/leds/do5/brightness"
|
|
#define DRV_DO6 "/sys/class/leds/do6/brightness"
|
|
#define DRV_LED1 "/sys/class/leds/can0/brightness"
|
|
#define DRV_LED2 "/sys/class/leds/can1/brightness"
|
|
#define DRV_LED3 "/sys/class/leds/led1/brightness"
|
|
#define DRV_LED4 "/sys/class/leds/led2/brightness"
|
|
|
|
#define DO_H "1"
|
|
#define DO_L "0"
|
|
|
|
void drv_do_write(char *dev, char *value);
|
|
|
|
#endif |