PX4 Firmware
PX4 Autopilot Software http://px4.io
reboot.c File Reference

Tool similar to UNIX reboot command. More...

#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/log.h>
#include <px4_platform_common/module.h>
#include <px4_platform_common/shutdown.h>
#include <string.h>
Include dependency graph for reboot.c:

Go to the source code of this file.

Functions

__EXPORT int reboot_main (int argc, char *argv[])
 
static void print_usage (void)
 

Detailed Description

Tool similar to UNIX reboot command.

Author
Lorenz Meier loren.nosp@m.z@px.nosp@m.4.io

Definition in file reboot.c.

Function Documentation

◆ print_usage()

static void print_usage ( void  )
static

Definition at line 50 of file reboot.c.

Referenced by reboot_main().

Here is the caller graph for this function:

◆ reboot_main()

int reboot_main ( int  argc,
char *  argv[] 
)

Definition at line 60 of file reboot.c.

References print_usage().

Here is the call graph for this function: