Mercurial > public > ostc4
comparison Discovery/Src/settings.c @ 644:ebe3fc302ab8
Compile with ENABLE_CHARGER_STATUS_V2
| author | heinrichs weikamp |
|---|---|
| date | Tue, 30 Mar 2021 10:34:12 +0200 |
| parents | 13ded99ecd56 |
| children | 5f0d3dce5ef4 |
comparison
equal
deleted
inserted
replaced
| 643:5149cd644fbc | 644:ebe3fc302ab8 |
|---|---|
| 37 #include "data_central.h" | 37 #include "data_central.h" |
| 38 | 38 |
| 39 SSettings Settings; | 39 SSettings Settings; |
| 40 | 40 |
| 41 const uint8_t RTErequiredHigh = 2; | 41 const uint8_t RTErequiredHigh = 2; |
| 42 const uint8_t RTErequiredLow = 6; | 42 const uint8_t RTErequiredLow = 7; |
| 43 | 43 |
| 44 const uint8_t FONTrequiredHigh = 1; | 44 const uint8_t FONTrequiredHigh = 1; |
| 45 const uint8_t FONTrequiredLow = 0; | 45 const uint8_t FONTrequiredLow = 0; |
| 46 | 46 |
| 47 uint8_t RTEactualHigh = 0; | 47 uint8_t RTEactualHigh = 0; |
| 56 | 56 |
| 57 const SFirmwareData firmware_FirmwareData __attribute__( (section(".firmware_firmware_data")) ) = | 57 const SFirmwareData firmware_FirmwareData __attribute__( (section(".firmware_firmware_data")) ) = |
| 58 { | 58 { |
| 59 .versionFirst = 1, | 59 .versionFirst = 1, |
| 60 .versionSecond = 5, | 60 .versionSecond = 5, |
| 61 .versionThird = 7, | 61 .versionThird = 8, |
| 62 .versionBeta = 0, | 62 .versionBeta = 0, |
| 63 | 63 |
| 64 /* 4 bytes with trailing 0 */ | 64 /* 4 bytes with trailing 0 */ |
| 65 .signature = "mh", | 65 .signature = "mh", |
| 66 | 66 |
| 67 .release_year = 21, | 67 .release_year = 21, |
| 68 .release_month = 02, | 68 .release_month = 03, |
| 69 .release_day = 25, | 69 .release_day = 30, |
| 70 .release_sub = 0, | 70 .release_sub = 0, |
| 71 | 71 |
| 72 /* max 48 with trailing 0 */ | 72 /* max 48 with trailing 0 */ |
| 73 //release_info ="12345678901234567890123456789012345678901" | 73 //release_info ="12345678901234567890123456789012345678901" |
| 74 .release_info ="gcc_2nd", | 74 .release_info ="gcc_2nd", |
