Compare commits
No commits in common. "f51a0713bca6a37f613085063d3373a72e0ed28d" and "4a63e76551b6d5dd88acc3ba587b2edca41a4cd2" have entirely different histories.
f51a0713bc
...
4a63e76551
4 changed files with 8 additions and 9 deletions
4
Makefile
4
Makefile
|
@ -1,10 +1,10 @@
|
|||
CC = gcc
|
||||
MKDIR_P = mkdir -p
|
||||
APP_NAME = argb-colors
|
||||
APP_NAME = argbColors
|
||||
|
||||
all: $(APP_NAME)
|
||||
|
||||
argb-colors: ./src/$(APP_NAME).c
|
||||
argbColors: ./src/$(APP_NAME).c
|
||||
$(MKDIR_P) ./bin
|
||||
$(CC) -std=c17 -I/usr/include/ ./src/$(APP_NAME).c -lusb-1.0 -o ./bin/$(APP_NAME)
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# argb-colors is application for backlight adjusting. Created for VID:PID=048d:5711
|
||||
# argb controls for 048d:5711 Integrated Technology Express, Inc. GIGABYTE Device
|
||||
|
||||
|
||||
[](https://ci.redrise.ru/repos/13)
|
||||
|
||||
Reference hardware used: Z890 AORUS PRO ICE, 048d:5711 Integrated Technology Express, Inc. GIGABYTE Device
|
||||
Reference hardware used: Z890 AORUS PRO ICE
|
||||
|
||||
### udev rules
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include "libusb-1.0/libusb.h"
|
||||
|
||||
#include "argb-colors.h"
|
||||
#include "argbColors.h"
|
||||
#include "configuration.h"
|
||||
#include "device_setup.c"
|
||||
#include "init_terminate.c"
|
||||
|
@ -57,8 +57,6 @@ int sync_flow(char* directive){
|
|||
|
||||
int separate_flow(){
|
||||
|
||||
printf("Command not recognized\n"
|
||||
"Possible values are: color off impulse flash flash2 cycle\n");
|
||||
}
|
||||
|
||||
|
|
@ -175,6 +175,7 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state){
|
|||
default:
|
||||
return ARGP_ERR_UNKNOWN;
|
||||
}
|
||||
printf("%03x = %s\n", key, arg);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue