aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.