summaryrefslogtreecommitdiff
path: root/recipes-support/mcc-pingpong/mcc-pingpong/update-mcc_free_buffer-call.patch
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-05-02 17:24:28 +0200
committerStefan Agner <stefan.agner@toradex.com>2014-05-02 17:24:28 +0200
commit764515d9a7f8614b91d371aca7138035c194b826 (patch)
tree710e788b57e16e0e3c64bae5e0e9afcf1f5eb8aa /recipes-support/mcc-pingpong/mcc-pingpong/update-mcc_free_buffer-call.patch
parent03bd4e23f55abaf76f10fc8480f9d9e7204aa84a (diff)
mcc-pingpong: demo application for ping pong with Cortex M4
Diffstat (limited to 'recipes-support/mcc-pingpong/mcc-pingpong/update-mcc_free_buffer-call.patch')
-rw-r--r--recipes-support/mcc-pingpong/mcc-pingpong/update-mcc_free_buffer-call.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-support/mcc-pingpong/mcc-pingpong/update-mcc_free_buffer-call.patch b/recipes-support/mcc-pingpong/mcc-pingpong/update-mcc_free_buffer-call.patch
new file mode 100644
index 0000000..bdd00b5
--- /dev/null
+++ b/recipes-support/mcc-pingpong/mcc-pingpong/update-mcc_free_buffer-call.patch
@@ -0,0 +1,19 @@
+commit c7db59e08ff1dfb30ae4aba8d6274b0cc8a0f228
+Author: Anthony Felice <tony.felice@timesys.com>
+Date: Mon Apr 15 19:24:06 2013 -0400
+
+ Update call to mcc_free_buffer to comply with API change.
+
+diff --git a/src/pingpong.c b/src/pingpong.c
+index 3d49fc8..5850059 100644
+--- a/src/pingpong.c
++++ b/src/pingpong.c
+@@ -121,7 +121,7 @@ int main(int argc, char** argv)
+ return 1;
+ }
+
+- mcc_free_buffer(null, data);
++ mcc_free_buffer(data);
+ }
+
+ mcc_destroy(node_num);