button
This commit is contained in:
parent
10a5c563a3
commit
4fbc95b238
|
@ -54,10 +54,10 @@ namespace ratgdo {
|
||||||
const char* motion_state_to_string(MotionState state)
|
const char* motion_state_to_string(MotionState state)
|
||||||
{
|
{
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case MOTION_STATE_DETECTED:
|
|
||||||
return "DETECTED";
|
|
||||||
case MOTION_STATE_CLEAR:
|
case MOTION_STATE_CLEAR:
|
||||||
return "CLEAR";
|
return "CLEAR";
|
||||||
|
case MOTION_STATE_DETECTED:
|
||||||
|
return "DETECTED";
|
||||||
case MOTION_STATE_UNKNOWN:
|
case MOTION_STATE_UNKNOWN:
|
||||||
default:
|
default:
|
||||||
return "UNKNOWN";
|
return "UNKNOWN";
|
||||||
|
|
Loading…
Reference in New Issue