Use better wifi low latency if available

This commit is contained in:
Patrick Nicolas
2024-02-09 10:09:34 +01:00
parent 92cf05da1c
commit 998cb917ef
2 changed files with 13 additions and 1 deletions
+7
View File
@@ -124,6 +124,11 @@ struct klass
self.reset(env.GetObjectClass(instance));
}
klass(const char * name) :
self(jni_thread::env().FindClass(name))
{
}
template <typename T>
T field(const std::string & name)
{
@@ -165,6 +170,8 @@ struct Bool
struct Int
{
constexpr static auto static_field = &_JNIEnv::GetStaticIntField;
static std::string type()
{
return "I";