Skip to content

Commit 7508edf

Browse files
committed
API - rename State::Start to State::Reset
1 parent 0007422 commit 7508edf

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

app/api/include/api/sonicpi_api.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ class SonicPiAPI
288288

289289
const std::string& GetGuid() const;
290290

291+
291292
virtual bool TestAudio();
292293

293294
// Get a unique path
@@ -354,13 +355,13 @@ class SonicPiAPI
354355

355356
enum State
356357
{
357-
Start,
358+
Reset,
358359
Initializing,
359360
Invalid,
360361
Created,
361362
Error
362363
};
363-
State m_state = State::Start;
364+
State m_state = State::Reset;
364365
uint64_t m_startServerTime;
365366
APISettings m_settings;
366367
};

app/api/src/sonicpi_api.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ void SonicPiAPI::Shutdown()
325325
LOG(INFO, "Boot Daemon socket not found so no need to close...");
326326
}
327327

328-
m_state = State::Start;
329-
LOG(INFO, "API State set to: Start...");
328+
m_state = State::Reset;
329+
LOG(INFO, "API State set to: Reset...");
330330

331331
}
332332

0 commit comments

Comments
 (0)