Apply new astyle config style

pull/11023/head
Donatien Garnier 2018-11-19 17:12:55 +00:00 committed by Martin Kojtal
parent 7c05a83afa
commit fd7e46b799
12 changed files with 57 additions and 63 deletions

View File

@ -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.
*

View File

@ -18,8 +18,7 @@
#include "Watchdog.h"
namespace mbed
{
namespace mbed {
watchdog_status_t Watchdog::start(const uint32_t timeout)
{

View File

@ -44,8 +44,7 @@ namespace mbed {
* @endcode
* @ingroup drivers
*/
class Watchdog
{
class Watchdog {
public:
Watchdog() {}

View File

@ -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.
*/