Skip to content

Commit ca444a7

Browse files
committed
platform: fix astyle
1 parent 3a5ef5e commit ca444a7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

platform/CircularBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class CircularBuffer {
9898
}
9999
_pool[_head++] = data;
100100
if (_head == BufferSize) {
101-
_head = 0;
101+
_head = 0;
102102
}
103103
if (_head == _tail) {
104104
_full = true;

platform/FileBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ FileBase::~FileBase()
6363
_mutex->unlock();
6464

6565
if (getPathType() == FilePathType) {
66-
extern void remove_filehandle(FileHandle *file);
66+
extern void remove_filehandle(FileHandle * file);
6767
remove_filehandle(static_cast<FileLike *>(this));
6868
}
6969
}

platform/mbed_alloc_wrappers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ static mbed_stats_heap_t heap_stats = {0, 0, 0, 0, 0, 0, 0};
5353

5454
typedef struct {
5555
size_t size;
56-
}mbed_heap_overhead_t;
56+
} mbed_heap_overhead_t;
5757

5858
#define MALLOC_HEADER_SIZE (sizeof(mbed_heap_overhead_t))
5959
#define MALLOC_HEADER_PTR(p) (mbed_heap_overhead_t *)((char *)(p) - MALLOC_HEADER_SIZE)

platform/mbed_application.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static void powerdown_gic()
4545
GICDistributor->CPENDSGIR[i] = 0xFFFFFFFF;
4646
}
4747
for (j = 0; j < 8; j++) {
48-
GICDistributor->IPRIORITYR[i*8+j] = 0x00000000;
48+
GICDistributor->IPRIORITYR[i * 8 + j] = 0x00000000;
4949
}
5050
}
5151
}

0 commit comments

Comments
 (0)