nanohub: Fix error in HAL definition
HAL info structure can not have pointers Ideally this would become variable sized array, but JNI is expecting fixed-size array here, so, define reasonable size (2), which fits all the known cases. Change-Id: I1752d5bef9db60570b03a8dc8e54da2277aca95a Signed-off-by: Alexey Polyudov <apolyudov@google.com>
This commit is contained in:
parent
c331570b5a
commit
ed7197e358
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ struct hub_app_info {
|
|||
struct hub_app_name_t app_name;
|
||||
uint32_t version;
|
||||
uint32_t num_mem_ranges;
|
||||
const struct mem_range_t *mem_usage;
|
||||
struct mem_range_t mem_usage[2]; // Apps could only have RAM and SHARED_DATA
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue