Skip to content

Commit f5e1f0d

Browse files
committed
Hide classes in utils in separate namespace
1 parent 6a9056d commit f5e1f0d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/DriverPins.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,10 +394,10 @@ class DriverPins {
394394
bool hasPins() { return !pins.empty(); }
395395

396396
protected:
397-
Vector<PinsI2S> i2s{0};
398-
Vector<PinsSPI> spi{0};
399-
Vector<PinsI2C> i2c{0};
400-
Vector<PinsFunction> pins{0};
397+
audio_driver_local::Vector<PinsI2S> i2s{0};
398+
audio_driver_local::Vector<PinsSPI> spi{0};
399+
audio_driver_local::Vector<PinsI2C> i2c{0};
400+
audio_driver_local::Vector<PinsFunction> pins{0};
401401
bool sd_active = true;
402402

403403
template <typename T>

src/Utils/Optional.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
namespace audio_driver {
3+
namespace audio_driver_local {
44

55
/**
66
* @brief A simple optonal implementation

src/Utils/Vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#endif
55
#include <assert.h>
66

7-
namespace audio_driver {
7+
namespace audio_driver_local {
88

99
/**
1010
* @brief Vector implementation which provides the most important methods as defined by std::vector. This class it is quite handy

0 commit comments

Comments
 (0)