mirror of https://github.com/FOME-Tech/fome-fw.git
progress
This commit is contained in:
parent
24c78d2f0b
commit
45a52e3ae2
|
@ -9,6 +9,7 @@
|
||||||
#include "com_rusefi_native__EngineLogic.h"
|
#include "com_rusefi_native__EngineLogic.h"
|
||||||
#include "auto_generated_sensor.h"
|
#include "auto_generated_sensor.h"
|
||||||
#include "tunerstudio.h"
|
#include "tunerstudio.h"
|
||||||
|
#include "live_data.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
@ -75,7 +76,7 @@ JNIEXPORT void JNICALL Java_com_rusefi_native_1_EngineLogic_invokePeriodicCallba
|
||||||
}
|
}
|
||||||
|
|
||||||
JNIEXPORT jbyteArray JNICALL Java_com_rusefi_native_1_EngineLogic_getOutputs(JNIEnv * env, jobject instance) {
|
JNIEXPORT jbyteArray JNICALL Java_com_rusefi_native_1_EngineLogic_getOutputs(JNIEnv * env, jobject instance) {
|
||||||
jbyteArray retVal = env->NewByteArray(sizeof(TunerStudioOutputChannels));
|
jbyteArray retVal = env->NewByteArray(TS_TOTAL_OUTPUT_SIZE);
|
||||||
jbyte *buf = env->GetByteArrayElements(retVal, NULL);
|
jbyte *buf = env->GetByteArrayElements(retVal, NULL);
|
||||||
EngineTestHelper* eth = getEth();
|
EngineTestHelper* eth = getEth();
|
||||||
updateTunerStudioState();
|
updateTunerStudioState();
|
||||||
|
|
Loading…
Reference in New Issue