mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 13:55:40 +08:00
Shortened module explanation
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
<module name="px4_flash">
|
||||
<doc>
|
||||
<description>Flashes the px4 f1 through the px4 bootloader, or resets the f4 to be flashed directly by the f4' PX4 bootloader.</description>
|
||||
<description>Enables to flashes the px4 FBW and AP through the original px4 bootloader.</description>
|
||||
</doc>
|
||||
<header>
|
||||
<file name="px4_flash.h"/>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
/**
|
||||
* @file "modules/px4_flash/px4_flash.c"
|
||||
* @author Kevin van Hecke
|
||||
* Flashes the px4io f1 through the px4 bootloader, or resets the f4 to be flashed directly.
|
||||
* Enables to flashes the px4 FBW and AP through the original px4 bootloader.
|
||||
* Assumes the flash port on the Pixhawk is configured as the usb.
|
||||
*/
|
||||
|
||||
@@ -129,7 +129,7 @@ void px4flash_event(void)
|
||||
|
||||
//first check if the bootloader has not timeout:
|
||||
if (sys_time_check_and_ack_timer(px4iobl_tid) || px4ioRebootTimeout) {
|
||||
px4ioRebootTimeout= TRUE;
|
||||
px4ioRebootTimeout = TRUE;
|
||||
sys_time_cancel_timer(px4iobl_tid);
|
||||
FLASH_PORT->put_byte(FLASH_PORT->periph, 'T');
|
||||
FLASH_PORT->put_byte(FLASH_PORT->periph, 'I');
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
/**
|
||||
* @file "modules/px4_flash/px4_flash.h"
|
||||
* @author Kevin van Hecke
|
||||
* Flashes the px4io f1 through the px4 bootloader, or resets the f4 to be flashed directly.
|
||||
* Enables to flashes the px4 FBW and AP through the original px4 bootloader.
|
||||
* Assumes the flash port on the Pixhawk is configured as the usb.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user