Alvaro Cassinelli
/
skinGames_II
save loops
EthernetNetIf/LPC2368/lwip/netif/ppp/pppdebug.h@0:df6fdd9b99f0, 2014-12-02 (annotated)
- Committer:
- mbedalvaro
- Date:
- Tue Dec 02 04:39:15 2014 +0000
- Revision:
- 0:df6fdd9b99f0
this new version of skinGames will have a function that stops scanning as the laser reaches the same position (i.e., loops) with a certain precision. It is for extracting contours for Takashita project. It can then save on a file or send on osc
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbedalvaro | 0:df6fdd9b99f0 | 1 | /***************************************************************************** |
mbedalvaro | 0:df6fdd9b99f0 | 2 | * pppdebug.h - System debugging utilities. |
mbedalvaro | 0:df6fdd9b99f0 | 3 | * |
mbedalvaro | 0:df6fdd9b99f0 | 4 | * Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc. |
mbedalvaro | 0:df6fdd9b99f0 | 5 | * portions Copyright (c) 1998 Global Election Systems Inc. |
mbedalvaro | 0:df6fdd9b99f0 | 6 | * portions Copyright (c) 2001 by Cognizant Pty Ltd. |
mbedalvaro | 0:df6fdd9b99f0 | 7 | * |
mbedalvaro | 0:df6fdd9b99f0 | 8 | * The authors hereby grant permission to use, copy, modify, distribute, |
mbedalvaro | 0:df6fdd9b99f0 | 9 | * and license this software and its documentation for any purpose, provided |
mbedalvaro | 0:df6fdd9b99f0 | 10 | * that existing copyright notices are retained in all copies and that this |
mbedalvaro | 0:df6fdd9b99f0 | 11 | * notice and the following disclaimer are included verbatim in any |
mbedalvaro | 0:df6fdd9b99f0 | 12 | * distributions. No written agreement, license, or royalty fee is required |
mbedalvaro | 0:df6fdd9b99f0 | 13 | * for any of the authorized uses. |
mbedalvaro | 0:df6fdd9b99f0 | 14 | * |
mbedalvaro | 0:df6fdd9b99f0 | 15 | * THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS *AS IS* AND ANY EXPRESS OR |
mbedalvaro | 0:df6fdd9b99f0 | 16 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
mbedalvaro | 0:df6fdd9b99f0 | 17 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
mbedalvaro | 0:df6fdd9b99f0 | 18 | * IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
mbedalvaro | 0:df6fdd9b99f0 | 19 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
mbedalvaro | 0:df6fdd9b99f0 | 20 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
mbedalvaro | 0:df6fdd9b99f0 | 21 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
mbedalvaro | 0:df6fdd9b99f0 | 22 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
mbedalvaro | 0:df6fdd9b99f0 | 23 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
mbedalvaro | 0:df6fdd9b99f0 | 24 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
mbedalvaro | 0:df6fdd9b99f0 | 25 | * |
mbedalvaro | 0:df6fdd9b99f0 | 26 | ****************************************************************************** |
mbedalvaro | 0:df6fdd9b99f0 | 27 | * REVISION HISTORY (please don't use tabs!) |
mbedalvaro | 0:df6fdd9b99f0 | 28 | * |
mbedalvaro | 0:df6fdd9b99f0 | 29 | * 03-01-01 Marc Boucher <marc@mbsi.ca> |
mbedalvaro | 0:df6fdd9b99f0 | 30 | * Ported to lwIP. |
mbedalvaro | 0:df6fdd9b99f0 | 31 | * 98-07-29 Guy Lancaster <lancasterg@acm.org>, Global Election Systems Inc. |
mbedalvaro | 0:df6fdd9b99f0 | 32 | * Original. |
mbedalvaro | 0:df6fdd9b99f0 | 33 | * |
mbedalvaro | 0:df6fdd9b99f0 | 34 | ***************************************************************************** |
mbedalvaro | 0:df6fdd9b99f0 | 35 | */ |
mbedalvaro | 0:df6fdd9b99f0 | 36 | #ifndef PPPDEBUG_H |
mbedalvaro | 0:df6fdd9b99f0 | 37 | #define PPPDEBUG_H |
mbedalvaro | 0:df6fdd9b99f0 | 38 | |
mbedalvaro | 0:df6fdd9b99f0 | 39 | /* Trace levels. */ |
mbedalvaro | 0:df6fdd9b99f0 | 40 | #define LOG_CRITICAL (PPP_DEBUG | LWIP_DBG_LEVEL_SEVERE) |
mbedalvaro | 0:df6fdd9b99f0 | 41 | #define LOG_ERR (PPP_DEBUG | LWIP_DBG_LEVEL_SEVERE) |
mbedalvaro | 0:df6fdd9b99f0 | 42 | #define LOG_NOTICE (PPP_DEBUG | LWIP_DBG_LEVEL_WARNING) |
mbedalvaro | 0:df6fdd9b99f0 | 43 | #define LOG_WARNING (PPP_DEBUG | LWIP_DBG_LEVEL_WARNING) |
mbedalvaro | 0:df6fdd9b99f0 | 44 | #define LOG_INFO (PPP_DEBUG) |
mbedalvaro | 0:df6fdd9b99f0 | 45 | #define LOG_DETAIL (PPP_DEBUG) |
mbedalvaro | 0:df6fdd9b99f0 | 46 | #define LOG_DEBUG (PPP_DEBUG) |
mbedalvaro | 0:df6fdd9b99f0 | 47 | |
mbedalvaro | 0:df6fdd9b99f0 | 48 | |
mbedalvaro | 0:df6fdd9b99f0 | 49 | #define TRACELCP PPP_DEBUG |
mbedalvaro | 0:df6fdd9b99f0 | 50 | |
mbedalvaro | 0:df6fdd9b99f0 | 51 | #if PPP_DEBUG |
mbedalvaro | 0:df6fdd9b99f0 | 52 | |
mbedalvaro | 0:df6fdd9b99f0 | 53 | #define AUTHDEBUG(a, b) LWIP_DEBUGF(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 54 | #define IPCPDEBUG(a, b) LWIP_DEBUGF(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 55 | #define UPAPDEBUG(a, b) LWIP_DEBUGF(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 56 | #define LCPDEBUG(a, b) LWIP_DEBUGF(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 57 | #define FSMDEBUG(a, b) LWIP_DEBUGF(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 58 | #define CHAPDEBUG(a, b) LWIP_DEBUGF(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 59 | #define PPPDEBUG(a, b) LWIP_DEBUGF(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 60 | |
mbedalvaro | 0:df6fdd9b99f0 | 61 | #else /* PPP_DEBUG */ |
mbedalvaro | 0:df6fdd9b99f0 | 62 | |
mbedalvaro | 0:df6fdd9b99f0 | 63 | #define AUTHDEBUG(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 64 | #define IPCPDEBUG(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 65 | #define UPAPDEBUG(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 66 | #define LCPDEBUG(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 67 | #define FSMDEBUG(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 68 | #define CHAPDEBUG(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 69 | #define PPPDEBUG(a, b) |
mbedalvaro | 0:df6fdd9b99f0 | 70 | |
mbedalvaro | 0:df6fdd9b99f0 | 71 | #endif /* PPP_DEBUG */ |
mbedalvaro | 0:df6fdd9b99f0 | 72 | |
mbedalvaro | 0:df6fdd9b99f0 | 73 | #endif /* PPPDEBUG_H */ |