X-Git-Url: http://cloudbase.mooo.com/gitweb/irmp.git/blobdiff_plain/5481e9cdedc6358a14c9dc3afae0d96afe7b762b..f50e01e79ba83c2142178a0e2431034c410d7fd0:/irsnd.h diff --git a/irsnd.h b/irsnd.h index 11f5227..a71b397 100644 --- a/irsnd.h +++ b/irsnd.h @@ -1,9 +1,9 @@ /*--------------------------------------------------------------------------------------------------------------------------------------------------- * irsnd.h * - * Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de + * Copyright (c) 2010-2011 Frank Meyer - frank(at)fli4l.de * - * $Id: irsnd.h,v 1.2 2010/04/14 13:21:39 fm Exp $ + * $Id: irsnd.h,v 1.4 2011/04/11 12:54:25 fm Exp $ * * ATMEGA88 @ 8 MHz * @@ -36,7 +36,7 @@ extern uint8_t irsnd_is_busy (void); * @param pointer to IRMP data structure * @return TRUE: successful, FALSE: failed */ -extern uint8_t irsnd_send_data (IRMP_DATA *); +extern uint8_t irsnd_send_data (IRMP_DATA *, uint8_t); /** * ISR routine @@ -44,4 +44,8 @@ extern uint8_t irsnd_send_data (IRMP_DATA *); */ extern uint8_t irsnd_ISR (void); +#if IRSND_USE_CALLBACK == 1 +extern void irsnd_set_callback_ptr (void (*cb)(uint8_t)); +#endif // IRSND_USE_CALLBACK == 1 + #endif /* _WC_IRSND_H_ */