From a2a43719c583f7fb2d6dfa38ad10274e6537a388 Mon Sep 17 00:00:00 2001 From: Henry Gabryjelski Date: Fri, 10 Jul 2020 20:53:59 -0700 Subject: [PATCH] Remove static assertion Per @hathach request https://github.com/adafruit/Adafruit_nRF52_Arduino/pull/496/files/d7e005cc99d4db22a3e6940279e5a59b995f247e?file-filters%5B%5D=.c&file-filters%5B%5D=.cpp#r452765910 --- cores/nRF5/Tone.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/cores/nRF5/Tone.cpp b/cores/nRF5/Tone.cpp index 15fb03b0..57af183e 100644 --- a/cores/nRF5/Tone.cpp +++ b/cores/nRF5/Tone.cpp @@ -52,7 +52,6 @@ static HardwarePWM * const _HwPWM = HwPWMx[2]; void tone(uint8_t pin, unsigned int frequency, unsigned long duration) { - static_assert(sizeof(unsigned long) == sizeof(uint32_t)); bool new_no_stop; unsigned long int new_count_duration = (unsigned long int)-1L; unsigned int time_per=0;