projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b916ff7
)
[Sensor] Initialize data for batch type sensor (#1596)
author
MuHong Byun
<mh.byun@samsung.com>
Mon, 11 May 2020 02:15:04 +0000
(11:15 +0900)
committer
GitHub
<noreply@github.com>
Mon, 11 May 2020 02:15:04 +0000
(11:15 +0900)
Signed-off-by: MuHong Byun <mh.byun@samsung.com>
src/Tizen.Sensor/Tizen.Sensor/BatchSensor.cs
patch
|
blob
|
history
diff --git
a/src/Tizen.Sensor/Tizen.Sensor/BatchSensor.cs
b/src/Tizen.Sensor/Tizen.Sensor/BatchSensor.cs
index
8e86d7a
..
cb27092
100644
(file)
--- a/
src/Tizen.Sensor/Tizen.Sensor/BatchSensor.cs
+++ b/
src/Tizen.Sensor/Tizen.Sensor/BatchSensor.cs
@@
-21,7
+21,9
@@
namespace Tizen.Sensor
{
public abstract class BatchSensor<TData> : Sensor where TData : Tizen.Sensor.BatchData
{
- public BatchSensor(uint index = 0) : base(index) { }
+ public BatchSensor(uint index = 0) : base(index) {
+ UpdateBatchData((IntPtr)null, 0);
+ }
public IReadOnlyList<TData> Data { get; protected set; }
/// <summary>