Use client-server processing to avoid constant super-user invocation.
This commit is contained in:
@@ -18,22 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define ARCH_RASPBERRY_PI 1
|
||||
#define ARCH_ANDROID 2
|
||||
#define ARCHITECTURE ARCH_ANDROID
|
||||
|
||||
#if ARCHITECTURE == ARCH_RASPBERRY_PI
|
||||
# define STORAGE_PREFIX "/usr/share/"
|
||||
# define HID_DEV "/dev/hidg0"
|
||||
# define DEBUG_STREAMS "/tmp/"
|
||||
// #define DEBUG_MSGS
|
||||
# define LEDS
|
||||
#elif ARCHITECTURE == ARCH_ANDROID
|
||||
# define STORAGE_PREFIX "/sdcard/U2F/"
|
||||
# define HID_DEV "/dev/hidg2"
|
||||
# define DEBUG_STREAMS "/data/local/tmp/"
|
||||
// #define DEBUG_MSGS
|
||||
#endif
|
||||
#include "_Architecture.hpp"
|
||||
|
||||
#undef ARCH_ANDROID
|
||||
#undef ARCH_RASPBERRY_PI
|
||||
|
||||
Reference in New Issue
Block a user