Constants moved to globals.h.
This commit is contained in:
parent
a86a780a67
commit
ebce8b7dd2
3 changed files with 9 additions and 8 deletions
|
@ -16,7 +16,9 @@
|
|||
#include <usb.h>
|
||||
#include <argtable2.h>
|
||||
|
||||
#include "../firmware/globals.h" /* custom request numbers */
|
||||
#include "globals.h"
|
||||
|
||||
#include "../firmware/globals.h"
|
||||
|
||||
// External functions to control the ledcube.
|
||||
extern void lc_setFrame(unsigned long);
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
#include <math.h>
|
||||
#include <usb.h>
|
||||
|
||||
#include "../firmware/globals.h" /* custom request numbers */
|
||||
#include "globals.h"
|
||||
|
||||
#include "../firmware/globals.h"
|
||||
|
||||
extern int lc_setFrame(unsigned long);
|
||||
extern int lc_setMode(int);
|
||||
|
|
|
@ -12,17 +12,14 @@
|
|||
#ifndef __LEDCUBE_H_INCLUDED__
|
||||
#define __LEDCUBE_H_INCLUDED__
|
||||
|
||||
#define NOT_CONNECTED_ERROR -1
|
||||
#define DEVICE_NOT_FOUND_ERROR -2
|
||||
|
||||
#define SUCCESSFULLY_CONNECTED 1
|
||||
|
||||
#include <stdio.h>
|
||||
#include <usb.h> /* this is libusb */
|
||||
|
||||
#include "opendevice.h" /* common code moved to separate module */
|
||||
|
||||
#include "../firmware/globals.h" /* custom request numbers */
|
||||
#include "globals.h"
|
||||
|
||||
#include "../firmware/globals.h"
|
||||
#include "../firmware/requests.h" /* custom request numbers */
|
||||
#include "../firmware/usbconfig.h" /* device's VID/PID and names */
|
||||
|
||||
|
|
Loading…
Reference in a new issue