diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-06-06 22:09:18 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-06-06 22:12:48 +0200 |
commit | c8d2fdbaf244111a7888b206c802970d2602e3f0 (patch) | |
tree | 649a6a5657238f64fadbec1f23f469b308d66189 /dev-libs/libnfc/files | |
parent | 6c2240fc6da443624768286ab1b6c29191ce2956 (diff) | |
download | overlay-c8d2fdbaf244111a7888b206c802970d2602e3f0.tar.gz overlay-c8d2fdbaf244111a7888b206c802970d2602e3f0.tar.xz overlay-c8d2fdbaf244111a7888b206c802970d2602e3f0.zip |
dev-libs/libnfc: add patch to be able to query bEasyFraming
Diffstat (limited to 'dev-libs/libnfc/files')
-rw-r--r-- | dev-libs/libnfc/files/add-get-easy-frameing.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/libnfc/files/add-get-easy-frameing.patch b/dev-libs/libnfc/files/add-get-easy-frameing.patch new file mode 100644 index 0000000..5d5bd64 --- /dev/null +++ b/dev-libs/libnfc/files/add-get-easy-frameing.patch @@ -0,0 +1,27 @@ +--- libnfc-1.6.0-rc1/include/nfc/nfc.h 2012-03-01 16:02:42.000000000 +0100 ++++ libnfc-1.6.0-rc1/include/nfc/nfc.h 2012-06-06 22:03:00.340374314 +0200 +@@ -105,6 +103,7 @@ + NFC_EXPORT const char *nfc_device_get_connstring (nfc_device *pnd); + NFC_EXPORT int nfc_device_get_supported_modulation (nfc_device *pnd, const nfc_mode mode, const nfc_modulation_type **const supported_mt); + NFC_EXPORT int nfc_device_get_supported_baud_rate (nfc_device *pnd, const nfc_modulation_type nmt, const nfc_baud_rate **const supported_br); ++ NFC_EXPORT bool nfc_device_get_easy_framing (nfc_device *pnd); + + /* Properties accessors */ + NFC_EXPORT int nfc_device_set_property_int (nfc_device *pnd, const nfc_property property, const int value); + +--- libnfc-1.6.0-rc1/libnfc/nfc.c 2012-03-01 16:02:42.000000000 +0100 ++++ libnfc-1.6.0-rc1/libnfc/nfc.c 2012-06-06 22:03:32.110977125 +0200 +@@ -1017,6 +1017,12 @@ + HAL (get_supported_baud_rate, pnd, nmt, supported_br); + } + ++bool ++nfc_device_get_easy_framing (nfc_device *pnd) ++{ ++ return pnd->bEasyFraming; ++} ++ + /* Misc. functions */ + + /** @ingroup misc + |