c-like naming
This commit is contained in:
parent
4a63e76551
commit
c2327e0242
4 changed files with 8 additions and 6 deletions
4
Makefile
4
Makefile
|
@ -1,10 +1,10 @@
|
||||||
CC = gcc
|
CC = gcc
|
||||||
MKDIR_P = mkdir -p
|
MKDIR_P = mkdir -p
|
||||||
APP_NAME = argbColors
|
APP_NAME = argb-colors
|
||||||
|
|
||||||
all: $(APP_NAME)
|
all: $(APP_NAME)
|
||||||
|
|
||||||
argbColors: ./src/$(APP_NAME).c
|
argb-colors: ./src/$(APP_NAME).c
|
||||||
$(MKDIR_P) ./bin
|
$(MKDIR_P) ./bin
|
||||||
$(CC) -std=c17 -I/usr/include/ ./src/$(APP_NAME).c -lusb-1.0 -o ./bin/$(APP_NAME)
|
$(CC) -std=c17 -I/usr/include/ ./src/$(APP_NAME).c -lusb-1.0 -o ./bin/$(APP_NAME)
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# argb controls for 048d:5711 Integrated Technology Express, Inc. GIGABYTE Device
|
# argb-colors is application for backlight adjusting. Created for VID:PID=048d:5711
|
||||||
|
|
||||||
|
|
||||||
[](https://ci.redrise.ru/repos/13)
|
[](https://ci.redrise.ru/repos/13)
|
||||||
|
|
||||||
Reference hardware used: Z890 AORUS PRO ICE
|
Reference hardware used: Z890 AORUS PRO ICE, 048d:5711 Integrated Technology Express, Inc. GIGABYTE Device
|
||||||
|
|
||||||
### udev rules
|
### udev rules
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include "libusb-1.0/libusb.h"
|
#include "libusb-1.0/libusb.h"
|
||||||
|
|
||||||
#include "argbColors.h"
|
#include "argb-colors.h"
|
||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
#include "device_setup.c"
|
#include "device_setup.c"
|
||||||
#include "init_terminate.c"
|
#include "init_terminate.c"
|
||||||
|
@ -57,6 +57,8 @@ int sync_flow(char* directive){
|
||||||
|
|
||||||
int separate_flow(){
|
int separate_flow(){
|
||||||
|
|
||||||
|
printf("Command not recognized\n"
|
||||||
|
"Possible values are: color off impulse flash flash2 cycle\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue