SubGhz: Oregon v2.1 decoder (#1678)
* Oregon v2.1 decoder * Refactor FSM to switch * Refactor headers * Format strings * Unit tests of oregon2 * Cleanups * Add oregon2 raw data to random_test_raw.sub * Adjust count of packets detected on random test * Format sources Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -12,9 +12,7 @@ const SubGhzProtocol* subghz_protocol_registry[] = {
|
||||
&subghz_protocol_chamb_code, &subghz_protocol_power_smart, &subghz_protocol_marantec,
|
||||
&subghz_protocol_bett, &subghz_protocol_doitrand, &subghz_protocol_phoenix_v2,
|
||||
&subghz_protocol_honeywell_wdb, &subghz_protocol_magellen, &subghz_protocol_intertechno_v3,
|
||||
&subghz_protocol_clemsa
|
||||
|
||||
};
|
||||
&subghz_protocol_clemsa, &subghz_protocol_oregon2};
|
||||
|
||||
const SubGhzProtocol* subghz_protocol_registry_get_by_name(const char* name) {
|
||||
for(size_t i = 0; i < subghz_protocol_registry_count(); i++) {
|
||||
|
Reference in New Issue
Block a user