comparison Discovery/Src/settings.c @ 1017:5924a2d1d3ba GasConsumption

Prepare custom block update function: In the flash area of the font lib some sectors may be used for custom data or a boot updater image. With this change a flash option is added to the maintainance menu. IMPORTANT: The fimwareEraseProgram.c is needed for compiling the firmware now => Add it e.g. by adding a link from the OtherSources location to your source folder.
author Ideenmodellierer
date Thu, 29 May 2025 22:04:46 +0200
parents 8c0134a287da
children 67e3dbc4d212
comparison
equal deleted inserted replaced
1014:8c0134a287da 1017:5924a2d1d3ba
1912 { 1912 {
1913 return &firmware_FirmwareData; 1913 return &firmware_FirmwareData;
1914 } 1914 }
1915 1915
1916 1916
1917 #if 0
1917 #ifndef SPECIALPROGRAMM 1918 #ifndef SPECIALPROGRAMM
1918 const SHardwareData* hardwareDataGetPointer(void) 1919 const SHardwareData* hardwareDataGetPointer(void)
1919 { 1920 {
1920 return (SHardwareData *)HARDWAREDATA_ADDRESS; 1921 return (SHardwareData *)HARDWAREDATA_ADDRESS;
1921 } 1922 }
1923 #endif
1922 #endif 1924 #endif
1923 #endif 1925 #endif
1924 const SSettings* settingsGetPointerStandard(void) 1926 const SSettings* settingsGetPointerStandard(void)
1925 { 1927 {
1926 return &SettingsStandard; 1928 return &SettingsStandard;