move defines to header-file
This commit is contained in:
@@ -4,9 +4,8 @@
|
||||
#include<string.h>
|
||||
#include<unistd.h>
|
||||
#include<string.h>
|
||||
#include "gpio.h"
|
||||
|
||||
#define BASEPATH "/sys/class/gpio/"
|
||||
#define GPIO_FOLDER "gpio%s/"
|
||||
|
||||
void writeFile(char *filename, char *buffer, size_t count)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user