led.c 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /***********************************************************************
  2. *
  3. * Copyright (C) 2004 by FS Forth-Systeme GmbH.
  4. * All rights reserved.
  5. *
  6. * $Id: led.c,v 1.1 2004/02/16 10:37:20 mpietrek Exp $
  7. * @Author: Markus Pietrek
  8. * @Descr: Defines helper functions for toggeling LEDs
  9. * @Usage:
  10. * @References: [1]
  11. *
  12. * This program is free software; you can redistribute it and/or
  13. * modify it under the terms of the GNU General Public License as
  14. * published by the Free Software Foundation; either version 2 of
  15. * the License, or (at your option) any later version.
  16. *
  17. * This program is distributed in the hope that it will be useful,
  18. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. * GNU General Public License for more details.
  21. *
  22. * You should have received a copy of the GNU General Public License
  23. * along with this program; if not, write to the Free Software
  24. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  25. * MA 02111-1307 USA
  26. *
  27. ***********************************************************************/
  28. #ifdef CONFIG_STATUS_LED
  29. #include <ns9750_bbus.h>
  30. static inline void __led_init( led_id_t mask, int state )
  31. {
  32. XXXX;
  33. }
  34. static inline void __led_toggle( led_id_t mask )
  35. {
  36. }
  37. static inline void __led_set( led_id_t mask, int state )
  38. {
  39. }
  40. #endif /* CONFIG_STATUS_LED */