mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
Fix typos in comments (#24474)
This commit is contained in:
@@ -173,7 +173,7 @@ def generate_output_from_file(format_idx, filename, outputdir, package, template
|
|||||||
|
|
||||||
def generate_by_template(output_file, template_file, em_globals):
|
def generate_by_template(output_file, template_file, em_globals):
|
||||||
"""
|
"""
|
||||||
Invokes empy intepreter to geneate output_file by the
|
Invokes empy intepreter to generate output_file by the
|
||||||
given template_file and predefined em_globals dict
|
given template_file and predefined em_globals dict
|
||||||
"""
|
"""
|
||||||
# check if folder exists:
|
# check if folder exists:
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ class RCOutput():
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if post_start:
|
if post_start:
|
||||||
# Path to post-start sript
|
# Path to post-start script
|
||||||
path = airframe.GetPostPath()
|
path = airframe.GetPostPath()
|
||||||
else:
|
else:
|
||||||
# Path to start script
|
# Path to start script
|
||||||
|
|||||||
@@ -296,7 +296,7 @@ class uploader:
|
|||||||
if c != self.OK:
|
if c != self.OK:
|
||||||
raise RuntimeError("unexpected response 0x%x instead of OK" % ord(c))
|
raise RuntimeError("unexpected response 0x%x instead of OK" % ord(c))
|
||||||
|
|
||||||
# The control flow for reciving Sync is on the order of 16 Ms per Sync
|
# The control flow for receiving Sync is on the order of 16 Ms per Sync
|
||||||
# This will validate all the SYNC,<results> for a window of programing
|
# This will validate all the SYNC,<results> for a window of programing
|
||||||
# in about 13.81 Ms for 256 blocks written
|
# in about 13.81 Ms for 256 blocks written
|
||||||
def __ackSyncWindow(self, count):
|
def __ackSyncWindow(self, count):
|
||||||
|
|||||||
Reference in New Issue
Block a user