Use const void* for ownership token

This commit is contained in:
Henry Gabryjelski committed 2020-07-28 23:05:10 -07:00
1 parent c58c01df68
commit c190318bb9
5 files changed
+16 -15

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ Version Modified By Date Comments
unsigned long int count_duration=0;
volatile bool no_stop = false;
uint8_t pin_sound=0;
static uintptr_t _toneToken = (uintptr_t)(&_toneToken);
static char const * _toneToken = "Tone";
void tone(uint8_t pin, unsigned int frequency, unsigned long duration)