ARMmbed / core-util

DEPRECATED: Mbed 3 utilities library
Other
12 stars 17 forks source link

Fix EvenHandler and FunctionPointer warning #37

Closed 0xc0170 closed 8 years ago

0xc0170 commented 8 years ago

Warning fix and EvenHandler to be compatible with greentea

Report with this fixes:

+---------------+---------------+----------------------------------------+--------+--------------------+-------------+
| target        | platform_name | test                                   | result | elapsed_time (sec) | copy_method |
+---------------+---------------+----------------------------------------+--------+--------------------+-------------+
| frdm-k64f-gcc | K64F          | core-util-test-sharedpointer           | OK     | 1.42               | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-array                   | OK     | 1.4                | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-binaryheap              | OK     | 1.44               | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-functionpointer         | OK     | 1.38               | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-poolallocator           | OK     | 1.4                | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-extendablepoolallocator | OK     | 1.44               | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-eventhandler            | OK     | 6.74               | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-sbrk-mini               | OK     | 1.38               | shell       |
+---------------+---------------+----------------------------------------+--------+--------------------+-------------+

@bogdanm @bremoran @rgrover

0xc0170 commented 8 years ago

Changed that true to count == 0 in that EventHandler

bogdanm commented 8 years ago

+1