X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=modules%2Fdebug%2Ferror%2Ferror.c;fp=modules%2Fdebug%2Ferror%2Ferror.c;h=32020776b77cf196a9ca7cc5a259bd7a48b90fee;hp=c2cf970d12a009719895110ad8382d04c62455b1;hb=6a4d2778a2e0ead8754eb8b2ae1b8a57d94de4d6;hpb=3b7b449237422537c8cdf124b0f4dde827787e14 diff --git a/modules/debug/error/error.c b/modules/debug/error/error.c index c2cf970..3202077 100644 --- a/modules/debug/error/error.c +++ b/modules/debug/error/error.c @@ -1,6 +1,6 @@ -/* +/* * Copyright Droids Corporation, Microb Technology, Eirbot (2005) - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -41,9 +41,13 @@ void error_init(void) } -struct error error_generate(uint8_t num, uint8_t severity, PGM_P t, - PGM_P f, uint16_t l) { - struct error e; +struct error error_generate(uint8_t num, uint8_t severity, PGM_P t, + PGM_P f, uint16_t l) +{ + struct error e; + + (void)f; + (void)l; e.err_num = num; e.severity = severity;