diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-06-22 07:06:27 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-06-22 07:06:27 +0000 |
commit | e621ab33be3b37496dd22eaf3255138f4347ba19 (patch) | |
tree | 804a8d4d95d81dc6a7c9eddbf47645621a49472a /Demos/Host/Incomplete/BluetoothHost/Lib/SDP.h | |
parent | 988604b25dc80c58841b6c6d7ffff6280ca51c9a (diff) | |
download | lufa-e621ab33be3b37496dd22eaf3255138f4347ba19.tar.gz lufa-e621ab33be3b37496dd22eaf3255138f4347ba19.tar.bz2 lufa-e621ab33be3b37496dd22eaf3255138f4347ba19.zip |
Added new pgm_read_ptr() macro to Common.h for reading of pointers out of flash memory space.
Added new SWAPENDIAN_16() and SWAPENDIAN_32() macros to Common.h for statically initialized variables at compile time.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/SDP.h')
-rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/Lib/SDP.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/SDP.h b/Demos/Host/Incomplete/BluetoothHost/Lib/SDP.h index 18592ec1c..c52477527 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/SDP.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/SDP.h @@ -60,14 +60,6 @@ #define SDP_PDU_SERVICEATTRIBUTERESPONSE 0x05 #define SDP_PDU_SERVICESEARCHATTRIBUTEREQUEST 0x06 #define SDP_PDU_SERVICESEARCHATTRIBUTERESPONSE 0x07 - - /** Convenience macro - read a pointer out of PROGMEM space. - * - * \param[in] x Address of the pointer to read - * - * \return Pointer retrieved from PROGMEM space - */ - #define pgm_read_ptr(x) (void*)pgm_read_word(x) /* Enums: */ /** Data sizes for SDP Data Element headers, to indicate the size of the data contained in the element. When creating |