C-Netz-SIM: Store Jolly's phone number to phonebook entry 02
Also set version number to 3.
This commit is contained in:
parent
31d5667516
commit
6cd2c3e323
|
@ -1351,6 +1351,10 @@ int sim_init_eeprom(void)
|
|||
encode_directory(dir_data, SIM_VERSION, SIM_VERSION_NAME);
|
||||
save_directory(1, dir_data);
|
||||
|
||||
/* store Jolly's phone number to phone book entry 2 */
|
||||
encode_directory(dir_data, JOLLY_PHONE, JOLLY_NAME);
|
||||
save_directory(2, dir_data);
|
||||
|
||||
/* now write magic characters to identify virgin or initialized EEPROM */
|
||||
eeprom_write(EEPROM_MAGIC + 0, 'C');
|
||||
eeprom_write(EEPROM_MAGIC + 1, '0' + EEPROM_VERSION);
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
|
||||
#define SIM_VERSION_NAME "Jollys Telecard"
|
||||
#define SIM_VERSION "2"
|
||||
#define SIM_VERSION_NAME "TelecardVersion"
|
||||
#define SIM_VERSION "3"
|
||||
#define JOLLY_NAME "Jolly"
|
||||
#define JOLLY_PHONE "04644973171"
|
||||
#define FUTLN_DEFAULT "2222001"
|
||||
#define SICHERUNG_DEFAULT "3103"
|
||||
#define KARTEN_DEFAULT "3"
|
||||
|
|
Loading…
Reference in New Issue