We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4983e7d commit bfa5167Copy full SHA for bfa5167
core/Tone.cpp
@@ -20,6 +20,16 @@
20
#ifdef RTDUINO_TONE_HWTIMER_DEVICE_NAME
21
static volatile uint8_t _tone_pin = RT_NULL;
22
23
+
24
+/**
25
+ * @brief Callback function for tone frequency.
26
+ *
27
+ * This function is called when the tone frequency needs to be updated.
28
29
+ * @param dev The device associated with the callback.
30
+ * @param size The size of the data (unused in this function).
31
+ * @return The error code indicating the status of the callback.
32
+ */
33
static rt_err_t _tone_freq_cb(rt_device_t dev, rt_size_t size)
34
{
35
RT_UNUSED(size);
0 commit comments