comparison Discovery/Src/settings.c @ 55:a7683f9765da

Italian activated (needs some fine tuning), special characters (?,?,?,?,? and others) currently not working...
author heinrichsweikamp
date Tue, 07 Aug 2018 00:24:05 +0200
parents bf43851a678b
children 96026ba1834f
comparison
equal deleted inserted replaced
54:321df89d5710 55:a7683f9765da
53 53
54 const SFirmwareData firmware_FirmwareData __attribute__( (section(".firmware_firmware_data")) ) = 54 const SFirmwareData firmware_FirmwareData __attribute__( (section(".firmware_firmware_data")) ) =
55 { 55 {
56 .versionFirst = 1, 56 .versionFirst = 1,
57 .versionSecond = 3, 57 .versionSecond = 3,
58 .versionThird = 3, 58 .versionThird = 5,
59 .versionBeta = 1, 59 .versionBeta = 0,
60 60
61 /* 4 bytes with trailing 0 */ 61 /* 4 bytes with trailing 0 */
62 .signature = "cw", 62 .signature = "mh",
63 63
64 .release_year = 17, 64 .release_year = 18,
65 .release_month = 7, 65 .release_month = 8,
66 .release_day = 4, 66 .release_day = 6,
67 .release_sub = 0, 67 .release_sub = 0,
68 68
69 /* max 48 with trailing 0 */ 69 /* max 48 with trailing 0 */
70 //release_info ="12345678901234567890123456789012345678901" 70 //release_info ="12345678901234567890123456789012345678901"
71 .release_info ="going on", 71 .release_info ="going on",
349 SSettings* pSettings = settingsGetPointer(); 349 SSettings* pSettings = settingsGetPointer();
350 const SSettings* pStandard = settingsGetPointerStandard(); 350 const SSettings* pStandard = settingsGetPointerStandard();
351 351
352 pSettings->scooterControl = 0; 352 pSettings->scooterControl = 0;
353 353
354 if((pSettings->serialHigh == 0) && (pSettings->serialLow == 25))
355 {
356 memcpy(pSettings->customtext, " Salom�\n\r" " Wiedmer\n\r", 60);
357 }
358
359 switch(pSettings->header) 354 switch(pSettings->header)
360 { 355 {
361 case 0xFFFF0000: 356 case 0xFFFF0000:
362 case 0xFFFF0001: 357 case 0xFFFF0001:
363 case 0xFFFF0002: 358 case 0xFFFF0002: