MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / is_rpi

Method is_rpi

OpenHD/ohd_common/src/openhd_platform.cpp:301–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301bool OHDPlatform::is_rpi() const {
302 return platform_type >= 10 && platform_type < 20;
303}
304
305bool OHDPlatform::is_rock() const {
306 return platform_type >= 20 && platform_type < 30;

Callers 14

create_defaultMethod · 0.80
create_pipelineMethod · 0.80
x_set_camera_typeMethod · 0.80
createDummyStreamXFunction · 0.80
toggle_secondary_ledFunction · 0.80
toggle_primary_ledFunction · 0.80
loopMethod · 0.80
AirTelemetryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected