mbed OS5
Fork of UIPEthernet by
Diff: utility/mempool.h
- Revision:
- 8:4acb22344932
- Parent:
- 4:d774541a34da
- Child:
- 9:e55652bed36c
--- a/utility/mempool.h Tue Apr 26 18:37:14 2016 +0000 +++ b/utility/mempool.h Fri Jun 30 19:51:28 2017 +0000 @@ -17,14 +17,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef MEMPOOL_H - #define MEMPOOL_H +#define MEMPOOL_H - #include <inttypes.h> +#include <inttypes.h> - #define POOLSTART 0 - #define NOBLOCK 0 +#define POOLSTART 0 +#define NOBLOCK 0 - #include "mempool_conf.h" +#include "mempool_conf.h" struct memblock { @@ -35,9 +35,9 @@ class MemoryPool { - #ifdef MEMPOOLTEST_H +#ifdef MEMPOOLTEST_H friend class MemoryPoolTest; - #endif +#endif protected: static struct memblock blocks[MEMPOOL_NUM_MEMBLOCKS + 1]; public: