aboutsummaryrefslogtreecommitdiffstats
path: root/java/jni/direct_bt/DBTGattDesc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'java/jni/direct_bt/DBTGattDesc.cxx')
-rw-r--r--java/jni/direct_bt/DBTGattDesc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jni/direct_bt/DBTGattDesc.cxx b/java/jni/direct_bt/DBTGattDesc.cxx
index 48aee220..996bd246 100644
--- a/java/jni/direct_bt/DBTGattDesc.cxx
+++ b/java/jni/direct_bt/DBTGattDesc.cxx
@@ -103,7 +103,7 @@ jboolean Java_jau_direct_1bt_DBTGattDesc_writeValueImpl(JNIEnv *env, jobject obj
if( nullptr == value_ptr ) {
throw jau::InternalError("GetPrimitiveArrayCritical(byte array) is null", E_FILE_LINE);
}
- jau::TROOctets value(value_ptr, value_size, jau::endian::little);
+ jau::TROOctets value(value_ptr, value_size, jau::lb_endian::little);
descriptor->value = value; // copy data
if( !descriptor->writeValue() ) {