Mercurial > public > ostc4
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 991:39b25be11009 | 992:39f28cd9dc46 |
|---|---|
| 691 tInfo_button_text("exit","","sleep"); | 691 tInfo_button_text("exit","","sleep"); |
| 692 tInfo_newpage("bootloader 250113"); | 692 tInfo_newpage("bootloader 250113"); |
| 693 tInfo_write("start bluetooth"); | 693 tInfo_write("start bluetooth"); |
| 694 tInfo_write(""); | 694 tInfo_write(""); |
| 695 tInfo_write(textVersion); | 695 tInfo_write(textVersion); |
| 696 #if 0 | |
| 696 if(tComm_Set_Bluetooth_Name(0) == 0xFF) | 697 if(tComm_Set_Bluetooth_Name(0) == 0xFF) |
| 698 #else | |
| 699 if(hardwareDataGetPointer()->production_bluetooth_name_set == 0xFF) | |
| 700 #endif | |
| 697 { | 701 { |
| 698 tInfo_write("init bluetooth"); | 702 tInfo_write("init bluetooth"); |
| 699 tComm_StartBlueModBaseInit(); | 703 tComm_StartBlueModBaseInit(); |
| 700 } | 704 } |
| 701 else | 705 else |
