X-Git-Url: http://cloudbase.mooo.com/gitweb/irmp.git/blobdiff_plain/4a7dc859e27ad629f32a77237b6e6af4fb714603..7fe8188d6871371baf83a08d1ab42c094525c04b:/irmpsystem.h diff --git a/irmpsystem.h b/irmpsystem.h index d4e5b13..575bfda 100644 --- a/irmpsystem.h +++ b/irmpsystem.h @@ -1,9 +1,9 @@ /*--------------------------------------------------------------------------------------------------------------------------------------------------- * irmpsystem.h - system specific includes and defines * - * Copyright (c) 2009-2013 Frank Meyer - frank(at)fli4l.de + * Copyright (c) 2009-2014 Frank Meyer - frank(at)fli4l.de * - * $Id: irmpsystem.h,v 1.11 2014/07/01 07:50:33 fm Exp $ + * $Id: irmpsystem.h,v 1.13 2014/07/21 08:58:58 fm Exp $ * * 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 @@ -107,8 +107,10 @@ typedef unsigned short uint16_t; #if defined (PIC_C18) // PIC C18 or XC8 compiler # include // main PIC18 h file +#ifndef __XC8 # include // timer lib # include // pwm lib +#endif # define IRSND_PIC_CCP1 1 // PIC C18 RC2 = PWM1 module # define IRSND_PIC_CCP2 2 // PIC C18 RC1 = PWM2 module #endif