-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmenu.h
More file actions
64 lines (57 loc) · 2.04 KB
/
menu.h
File metadata and controls
64 lines (57 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* menu.h
*
* Created on: 29.05.2012
*****************************************************************************
* MCmega - Firmware for the Motorola MC micro radio
* to use it as an Amateur-Radio transceiver
*
* Copyright (C) 2013 Felix Erckenbrecht, DG1YFE
*
* ( AVR port of "MC70"
* Copyright (C) 2004 - 2013 Felix Erckenbrecht, DG1YFE)
*
* This file is part of MCmega.
*
* MCmega 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 3 of the License, or
* (at your option) any later version.
*
* MCmega 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 MCmega. If not, see <http://www.gnu.org/licenses/>.
*
****************************************************************************
*/
#ifndef MENU_H_
#define MENU_H_
#include <avr/pgmspace.h>
extern const char m_ok_str[] PROGMEM;
extern const char m_no_lock_str[] PROGMEM;
extern const char m_out_str[] PROGMEM;
extern const char m_range_str[] PROGMEM;
extern const char m_writing[] PROGMEM;
extern const char m_stored_str[] PROGMEM;
extern const char m_failed_str[] PROGMEM;
extern const char m_delete[] PROGMEM;
extern const char m_offset[] PROGMEM;
extern const char m_sq_on_str[] PROGMEM;
extern const char m_sq_off_str[] PROGMEM;
extern const char m_menu_str[] PROGMEM;
enum {M_IDLE, F_IN, MEM_SELECT, MEM_STORE, MEM_RECALL_LOAD,
TXSHIFT_SW, MENU_SELECT, TXSHIFT_DIGIT,
FREQ_DIGIT, POWER_SELECT, CONFIG_SELECT, MEM_SELECT_RECALL,
MEM_SELECT_STORE, SHOW_VERSION, CTCSS_SEL_RX, CTCSS_SEL_TX,
CAL, TEST, DEBUG};
//#define MEM_SEL_DIGIT 5
void menu_init();
void menu();
void m_none(char key);
extern void m_reset_timer();
extern void m_norestore();
#endif /* MENU_H_ */