Moved results.h to src/ top level
This commit is contained in:
parent
1787d0d351
commit
a60b8b1f87
|
@ -11,6 +11,7 @@ set(sources
|
||||||
src/utils.c
|
src/utils.c
|
||||||
src/utils.h
|
src/utils.h
|
||||||
src/main.c
|
src/main.c
|
||||||
|
src/results.h
|
||||||
src/layer1/config.h
|
src/layer1/config.h
|
||||||
src/layer1/correlator.c
|
src/layer1/correlator.c
|
||||||
src/layer1/correlator.h
|
src/layer1/correlator.h
|
||||||
|
@ -20,7 +21,6 @@ set(sources
|
||||||
src/layer1/packet_mod.h
|
src/layer1/packet_mod.h
|
||||||
src/layer1/preamble.c
|
src/layer1/preamble.c
|
||||||
src/layer1/preamble.h
|
src/layer1/preamble.h
|
||||||
src/layer1/results.h
|
|
||||||
src/layer1/transmission.c
|
src/layer1/transmission.c
|
||||||
src/layer1/transmission.h
|
src/layer1/transmission.h
|
||||||
src/layer1/tx.c
|
src/layer1/tx.c
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
|
||||||
#include "layer1/results.h"
|
#include "results.h"
|
||||||
#include "tx.h"
|
#include "tx.h"
|
||||||
|
|
||||||
static inline bool resize_buffer(layer1_tx_t *tx, size_t new_size)
|
static inline bool resize_buffer(layer1_tx_t *tx, size_t new_size)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef LAYER1_RESULTS_H
|
#ifndef RESULTS_H
|
||||||
#define LAYER1_RESULTS_H
|
#define RESULTS_H
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
OK,
|
OK,
|
||||||
|
@ -24,4 +24,4 @@ typedef enum {
|
||||||
# define ERR_CHECK_LIQUID(call) if((call) != LIQUID_OK) { return ERR_LIQUID; }
|
# define ERR_CHECK_LIQUID(call) if((call) != LIQUID_OK) { return ERR_LIQUID; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // LAYER1_RESULTS_H
|
#endif // RESULTS_H
|
Loading…
Reference in a new issue