Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
fwatch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
fwatch
Commits
d9cb2636
Commit
d9cb2636
authored
Aug 26, 2014
by
Projects
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menu: Moved unnecessary headers to a single file (app_list.h).
parent
7aee3932
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
45 deletions
+10
-45
Makefile
sw/freertos/Makefile
+1
-1
app_list.h
sw/freertos/src/apps/app_list.h
+5
-4
clock.c
sw/freertos/src/apps/clock.c
+1
-1
menu.c
sw/freertos/src/apps/menu.c
+1
-2
menu.h
sw/freertos/src/apps/menu.h
+0
-35
menu_struct.c
sw/freertos/src/apps/menu_struct.c
+1
-1
main.c
sw/freertos/src/main.c
+1
-1
No files found.
sw/freertos/Makefile
View file @
d9cb2636
...
...
@@ -171,7 +171,7 @@ src/main.c \
src/irq_dispatcher.c
\
src/low_power_tick_management.c
s_SRC
+=
s_SRC
+=
S_SRC
+=
\
../common/Device/EnergyMicro/EFM32GG/Source/GCC/startup_efm32gg.S
...
...
sw/freertos/src/apps/
clock
.h
→
sw/freertos/src/apps/
app_list
.h
View file @
d9cb2636
...
...
@@ -21,15 +21,16 @@
*/
/**
*
Clock application
.
*
List of applications
.
*/
#ifndef
CLOCK
_H
#define
CLOCK
_H
#ifndef
APP_LIST
_H
#define
APP_LIST
_H
#include "application.h"
extern
application
menu
;
extern
application
clock
;
#endif
/*
CLOCK
_H */
#endif
/*
APP_LIST
_H */
sw/freertos/src/apps/clock.c
View file @
d9cb2636
...
...
@@ -25,7 +25,7 @@
* Clock application.
*/
#include "
clock
.h"
#include "
application
.h"
#include "widgets/status_bar.h"
#include <drivers/rtc.h>
...
...
sw/freertos/src/apps/menu.c
View file @
d9cb2636
...
...
@@ -24,9 +24,8 @@
* Menu application.
*/
#include "
menu
.h"
#include "
app_list
.h"
#include "menu_struct.h"
#include "clock.h"
#include "widgets/status_bar.h"
static
int
selected_item
=
0
;
...
...
sw/freertos/src/apps/menu.h
deleted
100644 → 0
View file @
7aee3932
/*
* Copyright (C) 2014 Julian Lewis
* @author Maciej Suminski <maciej.suminski@cern.ch>
*
* 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 (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, you may find one here:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* or you may search the http://www.gnu.org website for the version 2 license,
* or you may write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
/**
* Menu application.
*/
#ifndef MENU_H
#define MENU_H
#include "application.h"
extern
application
menu
;
#endif
/* MENU_H */
sw/freertos/src/apps/menu_struct.c
View file @
d9cb2636
...
...
@@ -25,7 +25,7 @@
*/
#include "menu_struct.h"
#include "
clock
.h"
#include "
app_list
.h"
int
get_menu_size
(
const
menu_list
*
menu
)
{
int
len
=
0
;
...
...
sw/freertos/src/main.c
View file @
d9cb2636
...
...
@@ -29,7 +29,7 @@
#include <em_cmu.h>
#include <sleep.h>
#include <apps/
menu
.h>
#include <apps/
app_list
.h>
#include <drivers/buttons.h>
#include <drivers/lcd.h>
#include <drivers/rtc.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment