source: rtems/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c @ 78c9fe8

5
Last change on this file since 78c9fe8 was 59cb7e9, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 2, 2014 at 11:02:11 PM

stm32f4/.../bspreset.c: Eliminate warning for set not used variable

  • Property mode set to 100644
File size: 509 bytes
Line 
1/*
2 * Copyright (c) 2012 Sebastian Huber.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Obere Lagerstr. 30
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#include <rtems.h>
16
17#include <bsp/bootcard.h>
18
19void bsp_reset(void)
20{
21  rtems_interrupt_level level;
22
23  (void) level;
24  rtems_interrupt_disable(level);
25
26  while (1);
27}
Note: See TracBrowser for help on using the repository browser.