Tools: extract_features.py: correct feature extraction for generator

update isn't present in some classes as they inherit it from their base class
This commit is contained in:
Peter Barker 2023-08-14 14:09:34 +10:00 committed by Andrew Tridgell
parent 7273c8416a
commit 08a7fa8d1f

View File

@ -133,7 +133,7 @@ class ExtractFeatures(object):
('AP_EFI_NWPWU_ENABLED', r'AP_EFI_NWPMU::update\b',),
('AP_EFI_CURRAWONG_ECU_ENABLED', r'AP_EFI_Currawong_ECU::update\b',),
('HAL_GENERATOR_ENABLED', 'AP_Generator::AP_Generator',),
('AP_GENERATOR_{type}_ENABLED', r'AP_Generator_(?P<type>.*)::update',),
('AP_GENERATOR_{type}_ENABLED', r'AP_Generator_(?P<type>.*)::init',),
('OSD_ENABLED', 'AP_OSD::update_osd',),
('HAL_PLUSCODE_ENABLE', 'AP_OSD_Screen::draw_pluscode',),