MCPcopy Create free account
hub / github.com/bitcraze/crazyflie-lib-python / _get_platform_id

Method _get_platform_id

cflib/bootloader/__init__.py:384–390  ·  view source on GitHub ↗

Get platform identifier used in the zip manifest for curr copter

(self)

Source from the content-addressed store, hash-verified

382 print('')
383
384 def _get_platform_id(self):
385 """Get platform identifier used in the zip manifest for curr copter"""
386 identifier = 'cf1'
387 if (BootVersion.is_cf2(self.protocol_version)):
388 identifier = 'cf2'
389
390 return identifier

Callers 1

flashMethod · 0.95

Calls 1

is_cf2Method · 0.80

Tested by

no test coverage detected