Fixed compile bug with FEATURE_DISPLAY and cli_straight_key_echo
pull/15/head
Anthony Good 2015-10-14 20:21:21 -04:00
rodzic ba98153c23
commit 91d32011c3
2 zmienionych plików z 10 dodań i 7 usunięć

Wyświetl plik

@ -419,10 +419,13 @@ New fetures in this stable release:
#define cli_straight_key_echo_on_at_boot 1
FEATURE_STRAIGHT_KEY now works with FEATURE_CW_COMPUTER_KEYBOARD
Straight Key can now program memories
2.2.2015101401
Fixed compile bug with FEATURE_DISPLAY and cli_straight_key_echo
*/
#define CODE_VERSION "2.2.2015101302"
#define CODE_VERSION "2.2.2015101401"
#define eeprom_magic_number 19
#include <stdio.h>
@ -1310,7 +1313,7 @@ void loop()
}
#endif //defined(FEATURE_SERIAL) && defined(FEATURE_COMMAND_LINE_INTERFACE)
#ifdef FEATURE_DISPLAY
#if defined(FEATURE_DISPLAY) && defined(FEATURE_STRAIGHT_KEY_ECHO)
if (cli_straight_key_echo){display_scroll_print_char(convert_cw_number_to_ascii(decode_character));}
#endif //FEATURE_DISPLAY

Wyświetl plik

@ -1,10 +1,10 @@
// compile time features and options - comment or uncomment to add or delete features
// FEATURES add more bytes to the compiled binary, OPTIONS change code behavior
#define FEATURE_COMMAND_BUTTONS
#define FEATURE_COMMAND_LINE_INTERFACE // Command Line Interface functionality
#define FEATURE_MEMORIES // on the Arduino Due, you must have FEATURE_EEPROM_E24C1024 and E24C1024 EEPROM hardware in order to compile this
#define FEATURE_MEMORY_MACROS
// #define FEATURE_COMMAND_BUTTONS
// #define FEATURE_COMMAND_LINE_INTERFACE // Command Line Interface functionality
// #define FEATURE_MEMORIES // on the Arduino Due, you must have FEATURE_EEPROM_E24C1024 and E24C1024 EEPROM hardware in order to compile this
// #define FEATURE_MEMORY_MACROS
// #define FEATURE_WINKEY_EMULATION // disabling Automatic Software Reset is highly recommended (see documentation) (this no longer requires FEATURE_SERIAL)
// #define FEATURE_BEACON
// #define FEATURE_CALLSIGN_RECEIVE_PRACTICE
@ -35,7 +35,7 @@
// #define FEATURE_PTT_INTERLOCK
// #define FEATURE_QLF
// #define FEATURE_EEPROM_E24C1024
#define FEATURE_STRAIGHT_KEY
// #define FEATURE_STRAIGHT_KEY
// #define FEATURE_DYNAMIC_DAH_TO_DIT_RATIO
// #define FEATURE_PADDLE_ECHO
// #define FEATURE_STRAIGHT_KEY_ECHO