mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 14:34:54 +01:00
Correction for failing test.
This commit is contained in:
parent
3a11485a4d
commit
90481e13b0
2 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
namespace esphome {
|
||||
namespace camera {
|
||||
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
|
||||
Camera *Camera::global_camera = nullptr;
|
||||
|
||||
Camera::Camera() {
|
||||
|
|
|
@ -79,6 +79,7 @@ class Camera : public Component, public EntityBase {
|
|||
CallbackManager<void(std::shared_ptr<camera::CameraImage>)> new_image_callback_{};
|
||||
CallbackManager<void()> stream_start_callback_{};
|
||||
CallbackManager<void()> stream_stop_callback_{};
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
|
||||
static Camera *global_camera;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue