blob: 797f22e43c3b62e17dcce8c99173fb66f6ea7067 [file] [log] [blame]
Ben Tyner92e39fd2020-02-05 18:11:02 -06001#pragma once
2
3/**
4 * @file hei_user_defines.hpp
5 * @brief The purpose of this file is to create common defines that
6 * will be used throughout this library.
7 */
8
9#include <assert.h>
10#include <inttypes.h>
11#include <stdio.h>
12
13#define HEI_INF(...) \
14 { \
15 printf("HWDIAGS I> " __VA_ARGS__); \
16 printf("\n"); \
17 }
18
19#define HEI_ERR(...) \
20 { \
21 printf("HWDIAGS E> " __VA_ARGS__); \
22 printf("\n"); \
23 }
24
25#define HEI_ASSERT(expression) assert(expression);