We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be4fb6c commit 4eea3c8Copy full SHA for 4eea3c8
cores/nRF5/HardwarePWM.h
@@ -39,6 +39,7 @@
39
#include "common_inc.h"
40
#include "nrf.h"
41
#include <atomic>
42
+#include <cstdint>
43
44
#ifdef NRF52840_XXAA
45
#define HWPWM_MODULE_NUM 4
@@ -51,7 +52,7 @@ class HardwarePWM
51
52
private:
53
enum { MAX_CHANNELS = 4 }; // Max channel per group
54
NRF_PWM_Type * const _pwm;
- std::atomic_uint32_t _owner_token;
55
+ std::atomic<std::uint32_t> _owner_token;
56
57
uint16_t _seq0[MAX_CHANNELS];
58
0 commit comments