From 4f9245cc9cea3ea14594dd803599c9ca988ac50f Mon Sep 17 00:00:00 2001 From: jwilson Date: Tue, 7 Mar 2017 19:40:13 -0800 Subject: [PATCH] Resolves a conflict in the type of the index parameter in the dm_read and dm_write function signature, caused by a recent change in the dataman code. This problem was causing the loading of the flight stack to fail on the aDSP. --- src/platforms/qurt/px4_layer/px4_qurt_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platforms/qurt/px4_layer/px4_qurt_impl.cpp b/src/platforms/qurt/px4_layer/px4_qurt_impl.cpp index 12b4c2667e..d9e0f7842c 100644 --- a/src/platforms/qurt/px4_layer/px4_qurt_impl.cpp +++ b/src/platforms/qurt/px4_layer/px4_qurt_impl.cpp @@ -123,7 +123,7 @@ void init(int argc, char *argv[], const char *app_name) ssize_t dm_read( dm_item_t item, /* The item type to retrieve */ - unsigned char index, /* The index of the item */ + unsigned index, /* The index of the item */ void *buffer, /* Pointer to caller data buffer */ size_t buflen /* Length in bytes of data to retrieve */ ) @@ -135,7 +135,7 @@ dm_read( ssize_t dm_write( dm_item_t item, /* The item type to store */ - unsigned char index, /* The index of the item */ + unsigned index, /* The index of the item */ dm_persitence_t persistence, /* The persistence level of this item */ const void *buffer, /* Pointer to caller data buffer */ size_t buflen /* Length in bytes of data to retrieve */