diff --git a/RemoteIDModule/parameters.cpp b/RemoteIDModule/parameters.cpp index 569b5e3..66bcd3c 100644 --- a/RemoteIDModule/parameters.cpp +++ b/RemoteIDModule/parameters.cpp @@ -312,7 +312,12 @@ void Parameters::init(void) // setup public keys set_by_name_char64("PUBLIC_KEY1", ROMFS::find_string("public_keys/ArduPilot_public_key1.dat")); set_by_name_char64("PUBLIC_KEY2", ROMFS::find_string("public_keys/ArduPilot_public_key2.dat")); - set_by_name_char64("PUBLIC_KEY3", ROMFS::find_string("public_keys/ArduPilot_public_key2.dat")); +#if defined(BOARD_BLUEMARK_DB200) || defined(BOARD_BLUEMARK_DB110) + set_by_name_char64("PUBLIC_KEY3", ROMFS::find_string("public_keys/BlueMark_public_key1.dat")); +#else + set_by_name_char64("PUBLIC_KEY3", ROMFS::find_string("public_keys/ArduPilot_public_key3.dat")); +#endif + } }