# HG changeset patch # User Ideenmodellierer # Date 1640111549 -3600 # Node ID 16833cd3a2f5ce86a77d9cbb9a9ef67f615ef490 # Parent 1b995079c045245fd29ec3ae431a5126584cd2a7 Revert Setbluetooh name changes diff -r 1b995079c045 -r 16833cd3a2f5 Discovery/Src/t7.c --- a/Discovery/Src/t7.c Tue Dec 14 15:36:10 2021 +0100 +++ b/Discovery/Src/t7.c Tue Dec 21 19:32:29 2021 +0100 @@ -746,8 +746,6 @@ */ if(DataEX_was_power_on()) { GFX_write_string_color(&FontT42,&t7surfaceR,"cold start",4,CLUT_WarningRed); - // Reset the bluetooth interface after a cold start - tComm_Set_Bluetooth_Name(1); } /* time and date */ diff -r 1b995079c045 -r 16833cd3a2f5 Discovery/Src/tMenuEditSystem.c --- a/Discovery/Src/tMenuEditSystem.c Tue Dec 14 15:36:10 2021 +0100 +++ b/Discovery/Src/tMenuEditSystem.c Tue Dec 21 19:32:29 2021 +0100 @@ -34,7 +34,6 @@ #include "gfx_fonts.h" #include "ostc.h" #include "settings.h" // for getLicence() -#include "tComm.h" #include "tHome.h" // for enum CUSTOMVIEWS and init_t7_compass() #include "tMenu.h" #include "tMenuEdit.h" @@ -87,7 +86,6 @@ uint8_t OnAction_Nothing (uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action); uint8_t OnAction_LogbookOffset(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action); uint8_t OnAction_SetFactoryDefaults(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action); -uint8_t OnAction_ResetBluetooth(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action); uint8_t OnAction_SetBatteryCharge(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action); #ifdef ENABLE_ANALYSE_SAMPLES uint8_t OnAction_RecoverSampleIdx(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action); @@ -1075,16 +1073,11 @@ text[2] = 0; write_field_button(StMSYS5_SetFactoryBC, 30, 800, ME_Y_LINE2, &FontT48, text); - text[0] = TXT_2BYTE; - text[1] = TXT2BYTE_ResetBluetooth; - text[2] = 0; - write_field_button(StMSYS5_ResetBluetooth, 30, 800, ME_Y_LINE3, &FontT48, text); - #ifdef ENABLE_ANALYSE_SAMPLES text[0] = TXT_2BYTE; text[1] = TXT2BYTE_SetSampleIndex; text[2] = 0; - write_field_button(StMSYS5_SetSampleIndx, 30, 800, ME_Y_LINE4, &FontT48, text); + write_field_button(StMSYS5_SetSampleIndx, 30, 800, ME_Y_LINE3, &FontT48, text); #endif @@ -1102,7 +1095,6 @@ setEvent(StMSYS5_Exit, (uint32_t)OnAction_Exit); setEvent(StMSYS5_SetFactoryBC, (uint32_t)OnAction_SetFactoryDefaults); - setEvent(StMSYS5_ResetBluetooth, (uint32_t)OnAction_ResetBluetooth); #ifdef ENABLE_ANALYSE_SAMPLES setEvent(StMSYS5_SetSampleIndx, (uint32_t)OnAction_RecoverSampleIdx); #endif @@ -1112,7 +1104,6 @@ { setEvent(StMSYS5_Exit, (uint32_t)OnAction_Exit); setEvent(StMSYS5_SetFactoryBC, (uint32_t)OnAction_SetFactoryDefaults); - setEvent(StMSYS5_ResetBluetooth, (uint32_t)OnAction_ResetBluetooth); #ifdef ENABLE_ANALYSE_SAMPLES setEvent(StMSYS5_SetSampleIndx, (uint32_t)OnAction_RecoverSampleIdx); #endif @@ -1233,13 +1224,6 @@ return EXIT_TO_MENU; } -uint8_t OnAction_ResetBluetooth(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action) -{ - tComm_Set_Bluetooth_Name(1); - - return EXIT_TO_MENU; -} - #ifdef ENABLE_ANALYSE_SAMPLES uint8_t OnAction_RecoverSampleIdx(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action) { diff -r 1b995079c045 -r 16833cd3a2f5 Discovery/Src/text_multilanguage.c --- a/Discovery/Src/text_multilanguage.c Tue Dec 14 15:36:10 2021 +0100 +++ b/Discovery/Src/text_multilanguage.c Tue Dec 21 19:32:29 2021 +0100 @@ -638,13 +638,6 @@ static uint8_t text_ES_SetFactoryDefaults[] = "Restablecer ajustes de fábrica"; // Menu SYS2 sub -static uint8_t text_EN_ResetBluetooth[] = "Reset bluetooth interface"; -static uint8_t text_DE_ResetBluetooth[] = "Bluetooth interface zurüchsetzen"; -static uint8_t text_FR_ResetBluetooth[] = ""; -static uint8_t text_IT_ResetBluetooth[] = ""; -static uint8_t text_ES_ResetBluetooth[] = ""; - -// Menu SYS2 sub static uint8_t text_EN_SetSampleIndex[] = "Analyse log memory"; static uint8_t text_DE_SetSampleIndex[] = "Prüfe Logbuchspeicher"; static uint8_t text_FR_SetSampleIndex[] = "Maintain log memory"; @@ -1976,7 +1969,6 @@ {(uint8_t)TXT2BYTE_Maintenance, {text_EN_Maintenance, text_DE_Maintenance, text_FR_Maintenance, text_IT_Maintenance, text_ES_Maintenance}}, {(uint8_t)TXT2BYTE_SetBatteryCharge,{text_EN_SetBatteryCharge, text_DE_SetBatteryCharge, text_FR_SetBatteryCharge, text_IT_SetBatteryCharge, text_ES_SetBatteryCharge}}, {(uint8_t)TXT2BYTE_SetFactoryDefaults,{text_EN_SetFactoryDefaults, text_DE_SetFactoryDefaults, text_FR_SetFactoryDefaults, text_IT_SetFactoryDefaults, text_ES_SetFactoryDefaults}}, - {(uint8_t)TXT2BYTE_ResetBluetooth, {text_EN_ResetBluetooth, text_DE_ResetBluetooth, text_FR_ResetBluetooth, text_IT_ResetBluetooth, text_ES_ResetBluetooth}}, {(uint8_t)TXT2BYTE_SetSampleIndex, {text_EN_SetSampleIndex, text_DE_SetSampleIndex, text_FR_SetSampleIndex, text_IT_SetSampleIndex, text_ES_SetSampleIndex}}, {(uint8_t)TXT2BYTE_Reboot, {text_EN_Reboot, text_DE_Reboot, text_FR_Reboot, text_IT_Reboot, text_ES_Reboot}},