LMiC LoRa Semtech + Nucleo
Fork of LMiC by
Diff: hal.h
- Revision:
- 1:d3b7bde3995c
- Parent:
- 0:62d1edcc13d1
diff -r 62d1edcc13d1 -r d3b7bde3995c hal.h --- a/hal.h Thu Jan 22 12:50:49 2015 +0000 +++ b/hal.h Tue Mar 31 13:36:56 2015 +0000 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2014 IBM Corporation. + * Copyright (c) 2014-2015 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -80,36 +80,4 @@ */ void hal_failed (void); -////////////////////////////////////////////////////////////////////// -#ifdef CFG_DEBUG -void debug_init (void); -void debug_led (u1_t val); -void debug_char (u1_t c); -void debug_hex (u1_t b); -void debug_buf (const u1_t* buf, u2_t len); -void debug_uint (u4_t v); -void debug_str (const u1_t* str); -void debug_event (int ev); -void debug_val (const u1_t* label, u4_t val); -#define DEBUG_INIT() debug_init() -#define DEBUG_LED(v) debug_led(v) -#define DEBUG_CHAR(c) debug_char(c) -#define DEBUG_HEX(b) debug_hex(b) -#define DEBUG_BUF(b,l) debug_buf(b,l) -#define DEBUG_UINT(v) debug_uint(v) -#define DEBUG_STR(s) debug_str(s) -#define DEBUG_EVENT(e) debug_event(e) -#define DEBUG_VAL(l,v) debug_val(l, v) -#else // CFG_DEBUG -#define DEBUG_INIT() -#define DEBUG_LED(v) -#define DEBUG_CHAR(c) -#define DEBUG_HEX(b) -#define DEBUG_BUF(b,l) -#define DEBUG_UINT(v) -#define DEBUG_STR(s) -#define DEBUG_EVENT(e) -#define DEBUG_VAL(l,v) -#endif // CFG_DEBUG - #endif // _hal_hpp_