Skip to content

Commit 32e6118

Browse files
committed
cores/xmc/wiring_time.c: Add TODO for tone module.
Signed-off-by: zhanglinjing <[email protected]>
1 parent 3e65ab1 commit 32e6118

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cores/xmc/wiring_time.c

+2-4
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ findID Get ID of first task from task address
126126
// @Project Includes
127127
//****************************************************************************
128128
#include "Arduino.h"
129-
extern int tone_irq_action(int, int16_t);
129+
// extern int tone_irq_action(int, int16_t); // TODO: not needed for timer yet.
130130

131131
//****************************************************************************
132132
// @Macros
@@ -135,8 +135,6 @@ extern int tone_irq_action(int, int16_t);
135135
#define _MAX_TASKS NUM_TASKS_VARIANT
136136

137137
#define SYSTIMER_PRIORITY (4U)
138-
/* Millisecond to Microsecond ratio */
139-
#define TIMER_1mSec 1000
140138

141139
//****************************************************************************
142140
// @Global Variables
@@ -201,7 +199,7 @@ void wiring_time_init(void) {
201199
// Fill with call back function addresses
202200
if (i < NUM_TONE_PINS)
203201
tasks[i] = NULL;
204-
// tasks[i] = tone_irq_action; // Tone callbacks
202+
// tasks[i] = tone_irq_action; // // TODO: Tone callbacks, not needed for timer yet.
205203
else
206204
tasks[i] = NULL; // Special case delay() ms callback
207205
}

0 commit comments

Comments
 (0)