Skip to content

Commit b6e850d

Browse files
committed
inline global variables
1 parent e5f6a74 commit b6e850d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/AudioTimer/AudioTimerAVR.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace audio_tools {
77

88
typedef void (* repeating_timer_callback_t )(void* obj);
99
class TimerAlarmRepeatingAVR;
10-
TimerAlarmRepeatingAVR *timerAlarmRepeatingRef = nullptr;
10+
inline TimerAlarmRepeatingAVR *timerAlarmRepeatingRef = nullptr;
1111

1212

1313
/**

src/AudioTimer/AudioTimerMBED.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace audio_tools {
88

99
class TimerAlarmRepeatingMBED;
10-
TimerAlarmRepeatingMBED *timerAlarmRepeating = nullptr;
10+
inline TimerAlarmRepeatingMBED *timerAlarmRepeating = nullptr;
1111
//typedef void (* repeating_timer_callback_t )(void* obj);
1212

1313
/**

src/AudioTimer/AudioTimerSTM32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace audio_tools {
77

88
class TimerAlarmRepeatingSTM32;
9-
TimerAlarmRepeatingSTM32 *timerAlarmRepeating = nullptr;
9+
inline TimerAlarmRepeatingSTM32 *timerAlarmRepeating = nullptr;
1010
typedef void (* repeating_timer_callback_t )(void* obj);
1111

1212
/**

0 commit comments

Comments
 (0)