summaryrefslogtreecommitdiffstats
path: root/default.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-06 02:10:24 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-06 02:10:24 +0200
commitd98d86bd6b0d861462698e5bcfc8f712f8e350c7 (patch)
tree54ca00b323495f7b36f7eef479e7d1c0c2e6905a /default.c
parent9b9e573479732acb1b9dc9fd4d6444918b5b5a5b (diff)
downloadipecamera-d98d86bd6b0d861462698e5bcfc8f712f8e350c7.tar.gz
ipecamera-d98d86bd6b0d861462698e5bcfc8f712f8e350c7.tar.bz2
ipecamera-d98d86bd6b0d861462698e5bcfc8f712f8e350c7.tar.xz
ipecamera-d98d86bd6b0d861462698e5bcfc8f712f8e350c7.zip
Support FIFO reading/writting, code restructurization, few fixes
Diffstat (limited to 'default.c')
-rw-r--r--default.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/default.c b/default.c
index f771599..f104879 100644
--- a/default.c
+++ b/default.c
@@ -6,8 +6,6 @@
#include "default.h"
#include "error.h"
-#define BIT_MASK(bits) ((1ll << (bits)) - 1)
-
#define default_datacpy(dst, src, access, bank) pcilib_datacpy(dst, src, access, 1, bank->raw_endianess)
int pcilib_default_read(pcilib_t *ctx, pcilib_register_bank_description_t *bank, pcilib_register_addr_t addr, uint8_t bits, pcilib_register_value_t *value) {