Skip to content

Commit

Permalink
2023.09.20.2100
Browse files Browse the repository at this point in the history
      Updates to allow compilation for Raspberry Pi Pico
      Reports of my death have been greatly exagerrated
  • Loading branch information
k3ng committed Sep 20, 2023
1 parent 8385038 commit e792776
Show file tree
Hide file tree
Showing 24 changed files with 49 additions and 58 deletions.
37 changes: 25 additions & 12 deletions k3ng_keyer/k3ng_keyer.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,13 @@ Recent Update History
2021.12.17.01
Merged pull request 119 https://github.com/k3ng/k3ng_cw_keyer/pull/119/ Definable startup text (define HI_TEXT) - Thanks, ON6ZQ

2022.01.28.01
Added compiler macro to error out if paddle_left or paddle_right is defined as 0 (disabled)

2023.09.20.2100
Updates to allow compilation for Raspberry Pi Pico
Reports of my death have been greatly exagerrated

Documentation: https://github.com/k3ng/k3ng_cw_keyer/wiki

Support: https://groups.io/g/radioartisan ( Please do not email K3NG directly for support. Thanks )
Expand Down Expand Up @@ -1381,7 +1388,7 @@ If you offer a hardware kit using this software, show your appreciation by sendi
*/


#define CODE_VERSION "2021.12.17.01"
#define CODE_VERSION "2022.01.28.01"

#define eeprom_magic_number 41 // you can change this number to have the unit re-initialize EEPROM

Expand All @@ -1402,6 +1409,8 @@ If you offer a hardware kit using this software, show your appreciation by sendi
#include <EEPROM.h>
#elif defined(ARDUINO_SAMD_VARIANT_COMPLIANCE)
#include <FlashAsEEPROM.h>
#elif defined(ARDUINO_ARCH_MBED)
#include <avr/pgmspace.h>
#else
#include <avr/pgmspace.h>
#include <avr/wdt.h>
Expand Down Expand Up @@ -6231,7 +6240,7 @@ void check_ptt_tail()
//-------------------------------------------------------------------------------------------------------
void write_settings_to_eeprom(int initialize_eeprom) {

#if !defined(ARDUINO_SAM_DUE) || (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))
#if !defined(ARDUINO_SAM_DUE) && !defined(ARDUINO_ARCH_MBED)|| (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))

if (initialize_eeprom) {
//configuration.magic_number = eeprom_magic_number;
Expand Down Expand Up @@ -6263,6 +6272,8 @@ void service_async_eeprom_write(){

// This writes one byte out to EEPROM each time it is called

#if !defined(ARDUINO_SAM_DUE) && !defined(ARDUINO_ARCH_MBED)|| (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))

static byte last_async_eeprom_write_status = 0;
static int ee = 0;
static unsigned int i = 0;
Expand Down Expand Up @@ -6312,6 +6323,8 @@ void service_async_eeprom_write(){
}
}

#endif //#if !defined(ARDUINO_SAM_DUE) && !defined(ARDUINO_ARCH_MBED)|| (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))

}

//-------------------------------------------------------------------------------------------------------
Expand All @@ -6326,7 +6339,7 @@ int read_settings_from_eeprom() {



#if !defined(ARDUINO_SAM_DUE) || (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))
#if !defined(ARDUINO_SAM_DUE) && !defined(ARDUINO_ARCH_MBED)|| (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))

#if defined(DEBUG_EEPROM_READ_SETTINGS)
debug_serial_port->println(F("read_settings_from_eeprom: start"));
Expand Down Expand Up @@ -6365,14 +6378,15 @@ int read_settings_from_eeprom() {
return 1;
}

#endif //!defined(ARDUINO_SAM_DUE) || (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))
#endif //#if !defined(ARDUINO_SAM_DUE) && !defined(ARDUINO_ARCH_MBED)|| (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))

#if defined(DEBUG_EEPROM_READ_SETTINGS)
debug_serial_port->println(F("read_settings_from_eeprom: bypassed read - no eeprom"));
#endif

return 1;


}

//-------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -12030,15 +12044,11 @@ void service_winkey(byte action) {
#endif //DEBUG_WINKEY
winkey_status = WINKEY_NO_COMMAND_IN_PROGRESS;
break;
case 0x09: // get cal on WK1, unimplemented on WK2, getMajorVersion on WK3
case 0x09: // get cal
#ifdef DEBUG_WINKEY
debug_serial_port->println("service_winkey:ADMIN_CMDgetcal");
#endif //DEBUG_WINKEY
#if defined(OPTION_WINKEY_2_SUPPORT)
winkey_port_write(WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2, 1); // Docs say this should be 0, but this is a hack for compatibility
#else
winkey_port_write(WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1, 1);
#endif
winkey_port_write(WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL,0);

This comment has been minimized.

Copy link
@swalberg

swalberg Dec 13, 2023

Contributor

Do you know why this went from 1 to 0? This seems to break Skookum Logger.

This comment has been minimized.

Copy link
@nall

nall Feb 15, 2024

Please restore this to 1 to fix SkookumLogger behavior.

This comment has been minimized.

Copy link
@k3ng

k3ng via email Feb 17, 2024

Author Owner
winkey_status = WINKEY_NO_COMMAND_IN_PROGRESS;
break;
#ifdef OPTION_WINKEY_2_SUPPORT
Expand Down Expand Up @@ -13073,8 +13083,9 @@ void cli_extended_commands(PRIMARY_SERIAL_CLS * port_to_use)
}
}
} //while (looping)

#if !defined(ARDUINO_SAM_DUE) && !defined(ARDUINO_ARCH_MBED)|| (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))
if (userinput.startsWith("EEPROMDUMP")){cli_eeprom_dump(port_to_use);return;}
#endif //#if !defined(ARDUINO_SAM_DUE) && !defined(ARDUINO_ARCH_MBED)|| (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))
if (userinput.startsWith("TIMING")){cli_timing_print(port_to_use);return;}
if (userinput.startsWith("PL ")){cli_timing_command(port_to_use,userinput.substring(3),COMMAND_PL);return;}
if (userinput.startsWith("PT ")){cli_timing_command(port_to_use,userinput.substring(3),COMMAND_PT);return;}
Expand Down Expand Up @@ -13383,6 +13394,7 @@ void sd_card_save_eeprom_to_file(PRIMARY_SERIAL_CLS * port_to_use,String filenam
//---------------------------------------------------------------------

#if defined(FEATURE_SERIAL) && defined(FEATURE_COMMAND_LINE_INTERFACE) && !defined(OPTION_EXCLUDE_EXTENDED_CLI_COMMANDS)
#if !defined(ARDUINO_SAM_DUE) && !defined(ARDUINO_ARCH_MBED)|| (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))
void cli_eeprom_dump(PRIMARY_SERIAL_CLS * port_to_use){

byte eeprom_byte_in;
Expand Down Expand Up @@ -13443,6 +13455,7 @@ void cli_eeprom_dump(PRIMARY_SERIAL_CLS * port_to_use){
}

}
#endif //#if !defined(ARDUINO_SAM_DUE) && !defined(ARDUINO_ARCH_MBED)|| (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))
#endif //defined(FEATURE_SERIAL) && defined(FEATURE_COMMAND_LINE_INTERFACE) && !defined(OPTION_EXCLUDE_EXTENDED_CLI_COMMANDS)
//---------------------------------------------------------------------
#ifdef FEATURE_PADDLE_ECHO
Expand Down Expand Up @@ -18045,7 +18058,7 @@ void initialize_keyer_state(){
* (writable EEPROM size). The following line will give the right figure for LGT.
*/
memory_area_end = EEPROM.size() - 1;
#elif (!defined(ARDUINO_SAM_DUE) || (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))) && !defined(HARDWARE_GENERIC_STM32F103C)
#elif (!defined(ARDUINO_SAM_DUE) && (!defined(ARDUINO_ARCH_MBED)) || (defined(ARDUINO_SAM_DUE) && defined(FEATURE_EEPROM_E24C1024))) && !defined(HARDWARE_GENERIC_STM32F103C)
memory_area_end = EEPROM.length() - 1;
#else
#if defined(HARDWARE_GENERIC_STM32F103C)
Expand Down
4 changes: 2 additions & 2 deletions k3ng_keyer/keyer_features_and_options_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#define FEATURE_BUTTONS
#define FEATURE_COMMAND_MODE
// #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_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)
// #define FEATURE_BEACON // Go into beacon mode if paddle_left pin is LOW at boot up
// #define FEATURE_BEACON_SETTING // Go into beacon mode at boot up if EEPROM setting is enabled (\_ CLI Command)
Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_fk_10.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_fk_11.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_generic_STM32F103C.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ GENERIC STM32F103C
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_iz3gme.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_k5bcq.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_maple_mini.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_megakeyer.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_mortty.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_mortty_regular.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_mortty_so2r.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_mortty_so2r_with_potentiometer.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_nanokeyer_rev_b.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_nanokeyer_rev_d.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_open_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_opencwkeyer_mk2.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_test_everything.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_tinykeyer.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_yaacwk.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down
3 changes: 1 addition & 2 deletions k3ng_keyer/keyer_settings_yccc_so2r_mini.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@
#define WINKEY_HANG_TIME_1_66 1.66
#define WINKEY_HANG_TIME_2_0 2.0

#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK1 0x0a
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL_WK2 0x18
#define WINKEY_RETURN_THIS_FOR_ADMIN_GET_CAL 0x16
#define WINKEY_RETURN_THIS_FOR_ADMIN_PADDLE_A2D 0xEE
#define WINKEY_RETURN_THIS_FOR_ADMIN_SPEED_A2D 0x00

Expand Down

0 comments on commit e792776

Please sign in to comment.