mirror of https://github.com/ARMmbed/mbed-os.git
Apply new astyle config style
parent
7c05a83afa
commit
fd7e46b799
|
@ -21,8 +21,7 @@
|
|||
|
||||
#include "reset_reason_api.h"
|
||||
|
||||
namespace mbed
|
||||
{
|
||||
namespace mbed {
|
||||
/** \addtogroup drivers */
|
||||
/** ResetReason API. When the system is restarted, the reason for the restart is
|
||||
* contained in the system registers at boot time in a platform specific manner,
|
||||
|
@ -30,8 +29,7 @@ namespace mbed
|
|||
*
|
||||
* @ingroup drivers
|
||||
*/
|
||||
class ResetReason
|
||||
{
|
||||
class ResetReason {
|
||||
public:
|
||||
/** Get the platform-independent reason code for the last system reset.
|
||||
*
|
||||
|
|
|
@ -18,8 +18,7 @@
|
|||
|
||||
#include "Watchdog.h"
|
||||
|
||||
namespace mbed
|
||||
{
|
||||
namespace mbed {
|
||||
|
||||
watchdog_status_t Watchdog::start(const uint32_t timeout)
|
||||
{
|
||||
|
|
|
@ -44,8 +44,7 @@ namespace mbed {
|
|||
* @endcode
|
||||
* @ingroup drivers
|
||||
*/
|
||||
class Watchdog
|
||||
{
|
||||
class Watchdog {
|
||||
public:
|
||||
Watchdog() {}
|
||||
|
||||
|
|
|
@ -46,8 +46,7 @@
|
|||
* modes unless the chip is woken to refresh the timer.
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
typedef struct {
|
||||
/**
|
||||
* Refresh value for the watchdog in milliseconds. The maximum value of this
|
||||
* setting is platform dependent, to find the maximum value for the current
|
||||
|
@ -60,8 +59,7 @@ typedef struct
|
|||
} watchdog_config_t;
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
typedef struct {
|
||||
/**
|
||||
* Maximum timeout value for the watchdog in milliseconds.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue