class heart_rate

Revision:
5:d172ac7bfd77
Parent:
4:90dfc6d7461b
Child:
6:465efb69bbf1
diff -r 90dfc6d7461b -r d172ac7bfd77 pixart_heart_rate.cpp
--- a/pixart_heart_rate.cpp	Fri Oct 27 07:00:07 2017 +0000
+++ b/pixart_heart_rate.cpp	Fri Oct 27 07:09:14 2017 +0000
@@ -226,10 +226,10 @@
         
         uint8_t ret = pah8series_entrance(&pah8series_data);
         
-        float hr = 0.0f;
+        float hr = 123.0f;
         pah8series_get_hr(&hr);
         
-        int hr_trust_level = 0;
+        int hr_trust_level = 456;
         pah8series_get_hr_trust_level(&hr_trust_level);
         
         debug_printf("ret = %d, hr = %d, hr_trust_level = %d\n", ret, (int)hr, hr_trust_level);