aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/include
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-01 03:27:23 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-01 03:27:23 -0400
commit13d3b358627363682aba12e90cabb003b8ea6bc3 (patch)
tree77a34958feed22473ad993fbff57885dee7d8bad /wirish/include
parent73f2cefbdf6d8f255bc5284c64d315f38ee45616 (diff)
downloadlibrambutan-13d3b358627363682aba12e90cabb003b8ea6bc3.tar.gz
librambutan-13d3b358627363682aba12e90cabb003b8ea6bc3.zip
<wirish/HardwareTimer.h> cosmetics.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/include')
-rw-r--r--wirish/include/wirish/HardwareTimer.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/wirish/include/wirish/HardwareTimer.h b/wirish/include/wirish/HardwareTimer.h
index d322033..4e140ca 100644
--- a/wirish/include/wirish/HardwareTimer.h
+++ b/wirish/include/wirish/HardwareTimer.h
@@ -38,9 +38,6 @@
/** Timer mode. */
typedef timer_mode TimerMode;
-/** @brief Deprecated; use TIMER_OUTPUT_COMPARE instead. */
-#define TIMER_OUTPUTCOMPARE TIMER_OUTPUT_COMPARE
-
/**
* @brief Interface to one of the 16-bit timer peripherals.
*/
@@ -208,7 +205,7 @@ public:
*/
void refresh(void);
- /* -- Deprecated methods ----------------------------------------------- */
+/* -- The rest of this file is deprecated. --------------------------------- */
/** @brief Deprecated; use setMode(channel, mode) instead. */
void setChannelMode(int channel, timer_mode mode) {
@@ -287,7 +284,8 @@ public:
void generateUpdate(void) { refresh(); }
};
-/* -- The rest of this file is deprecated. --------------------------------- */
+/** @brief Deprecated; use TIMER_OUTPUT_COMPARE instead. */
+#define TIMER_OUTPUTCOMPARE TIMER_OUTPUT_COMPARE
/**
* @brief Deprecated.