class pah8011 for mbed

Revision:
4:cbc49829af39
Parent:
0:242cf8f28bf2
Child:
5:37451de228e4
--- a/pixart_pah8011.cpp	Fri Oct 27 05:53:55 2017 +0000
+++ b/pixart_pah8011.cpp	Fri Oct 27 06:05:38 2017 +0000
@@ -128,7 +128,7 @@
         if (!pah_has_fifo_data())
             return false;
             
-        result.data         = pah_get_fifo_data();
+        result.data         = (int32_t*)pah_get_fifo_data();
         result.num_per_ch   = pah_fifo_data_num_per_ch();
         result.ch_num       = pah_get_fifo_ch_num();
         result.is_touched   = pah_is_touched();