Mercurial > public > ostc4
diff BootLoader/Src/base_bootlader.c @ 992:39f28cd9dc46 BootloaderOstc5
Bootloader BT module initialization:
The previous version did the first initialization of the module based on the fact if a serial number is present or not. Meanwhile the serial number may be preset in the binary => use the name program flag as indicator if the module shall be initialized or not.
| author | Ideenmodellierer |
|---|---|
| date | Tue, 15 Apr 2025 21:49:42 +0200 |
| parents | 39b25be11009 |
| children | f1b78bc8de10 |
line wrap: on
line diff
--- a/BootLoader/Src/base_bootlader.c Tue Apr 15 17:36:19 2025 +0200 +++ b/BootLoader/Src/base_bootlader.c Tue Apr 15 21:49:42 2025 +0200 @@ -693,7 +693,11 @@ tInfo_write("start bluetooth"); tInfo_write(""); tInfo_write(textVersion); +#if 0 if(tComm_Set_Bluetooth_Name(0) == 0xFF) +#else + if(hardwareDataGetPointer()->production_bluetooth_name_set == 0xFF) +#endif { tInfo_write("init bluetooth"); tComm_StartBlueModBaseInit();
