Refactor rfid component to auth
This commit is contained in:
11
components/auth/src/auth.c
Normal file
11
components/auth/src/auth.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "auth.h"
|
||||
|
||||
static bool enable = false;
|
||||
|
||||
void auth_set_enable(bool value) {
|
||||
enable = value;
|
||||
}
|
||||
|
||||
bool auth_get_enable(void) {
|
||||
return enable;
|
||||
}
|
||||
Reference in New Issue
Block a user