fix mercuryio flag issue
This commit is contained in:
parent
f3c40f4409
commit
431a604d9b
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,6 @@ using TMPro;
|
||||
|
||||
public class ConfigPanelComponent : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
public string ConfigKeyName
|
||||
{
|
||||
get
|
||||
@ -13,7 +12,6 @@ public class ConfigPanelComponent : MonoBehaviour
|
||||
}
|
||||
}
|
||||
private string configKeyName;
|
||||
[SerializeField]
|
||||
public GameObject Widget
|
||||
{
|
||||
get
|
||||
|
7
Assets/Script/Configuration/README.md.meta
Normal file
7
Assets/Script/Configuration/README.md.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e8524a30a7c83304ea1ab0004c8927dd
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -67,6 +67,7 @@ public class LightManager : MonoBehaviour
|
||||
}
|
||||
private void CheckIPCState(byte[] data)
|
||||
{
|
||||
Debug.Log(data[3]);
|
||||
if (data[3] == 0)
|
||||
isIPCIdle = true;
|
||||
else
|
||||
@ -93,7 +94,9 @@ public class LightManager : MonoBehaviour
|
||||
if (bytes != null && bytes.Length == 1920)
|
||||
{
|
||||
CheckIPCState(bytes);
|
||||
RGBColor2D.LoadRawTextureData(bytes);
|
||||
var newbytes = new byte[1920];
|
||||
newbytes = bytes;
|
||||
RGBColor2D.LoadRawTextureData(newbytes);
|
||||
RGBColor2D.Apply();
|
||||
}
|
||||
}
|
||||
|
@ -157,7 +157,7 @@ static unsigned int __stdcall mercury_io_touch_thread_proc(void *ctx)
|
||||
//Sleep(1);
|
||||
}
|
||||
|
||||
data.rgba[3] = 0x00; //IPC idle flag
|
||||
FileMapping->RGBAData[3] = 0x00; //IPC idle flag
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user