From e9fb4507ae2e08187aea1aabf30dc6f43e2cf3e6 Mon Sep 17 00:00:00 2001 From: Ted Logan Date: Tue, 8 Oct 2024 19:45:15 -0700 Subject: [PATCH] nfc/clipper: Update BART station codes In the NFC Clipper card plugin, update the BART station codes for two newer East Bay stations (Milpitas, and Berryessa/North San Jose), and correct the station code for Castro Valley. These station ids come from visiting the stations and checking what id they presented as in the Clipper card data. --- applications/main/nfc/plugins/supported_cards/clipper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/main/nfc/plugins/supported_cards/clipper.c b/applications/main/nfc/plugins/supported_cards/clipper.c index 04a2afcda30..35d0c70390d 100644 --- a/applications/main/nfc/plugins/supported_cards/clipper.c +++ b/applications/main/nfc/plugins/supported_cards/clipper.c @@ -106,7 +106,7 @@ static const IdMapping bart_zones[] = { {.id = 0x0023, .name = "South Hayward"}, {.id = 0x0024, .name = "Union City"}, {.id = 0x0025, .name = "Fremont"}, - {.id = 0x0026, .name = "Daly City(2)?"}, + {.id = 0x0026, .name = "Castro Valley"}, {.id = 0x0027, .name = "Dublin/Pleasanton"}, {.id = 0x0028, .name = "South San Francisco"}, {.id = 0x0029, .name = "San Bruno"}, @@ -115,6 +115,8 @@ static const IdMapping bart_zones[] = { {.id = 0x002c, .name = "West Dublin/Pleasanton"}, {.id = 0x002d, .name = "OAK Airport"}, {.id = 0x002e, .name = "Warm Springs/South Fremont"}, + {.id = 0x002f, .name = "Milpitas"}, + {.id = 0x0030, .name = "Berryessa/North San Jose"}, }; static const size_t kNumBARTZones = COUNT(bart_zones);