aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/CodeTemplates
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-04-25 19:46:03 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-04-25 19:46:03 +0000
commit5cfa1c37c685809c7bf1e9aeb10d069cb90f49bb (patch)
treeb58df87ddc18807f6952dce34896efff2bfb4b48 /LUFA/CodeTemplates
parent1840e1bbae56555bbc271056b47bbd602a956a83 (diff)
downloadlufa-5cfa1c37c685809c7bf1e9aeb10d069cb90f49bb.tar.gz
lufa-5cfa1c37c685809c7bf1e9aeb10d069cb90f49bb.tar.bz2
lufa-5cfa1c37c685809c7bf1e9aeb10d069cb90f49bb.zip
Speed up Doxygen-to-Docbook conversion, enable partial syntax highlighting in the MS HV1 output.
Diffstat (limited to 'LUFA/CodeTemplates')
-rw-r--r--LUFA/CodeTemplates/DriverStubs/Dataflash.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/LUFA/CodeTemplates/DriverStubs/Dataflash.h b/LUFA/CodeTemplates/DriverStubs/Dataflash.h
index 63ebcf0d1..d466e9bb8 100644
--- a/LUFA/CodeTemplates/DriverStubs/Dataflash.h
+++ b/LUFA/CodeTemplates/DriverStubs/Dataflash.h
@@ -81,6 +81,7 @@
#define DATAFLASH_PAGES // TODO: Replace with the total number of pages inside one of the Dataflash ICs
/* Inline Functions: */
+ #if !defined(__DOXYGEN__)
/** Initializes the dataflash driver so that commands and data may be sent to an attached dataflash IC.
* The microcontroller's SPI driver MUST be initialized before any of the dataflash commands are used.
*/
@@ -205,7 +206,8 @@
* \param[in] PageAddress Page address within the selected dataflash IC
* \param[in] BufferByte Address within the dataflash's buffer
*/
- static inline void Dataflash_SendAddressBytes(uint16_t PageAddress, const uint16_t BufferByte)
+ static inline void Dataflash_SendAddressBytes(uint16_t PageAddress,
+ const uint16_t BufferByte)
{
#if (DATAFLASH_TOTALCHIPS == 2)
PageAddress >>= 1;
@@ -215,6 +217,7 @@
Dataflash_SendByte((PageAddress << 3) | (BufferByte >> 8));
Dataflash_SendByte(BufferByte);
}
+ #endif
#endif