Pictureflow Whitespace Cleanup
Change-Id: I7cda111a8d7a24cae31e3eeca1454480e27ebaaa
This commit is contained in:
parent
aa4ec918e4
commit
d9e084b530
1 changed files with 8 additions and 11 deletions
|
@ -34,10 +34,6 @@
|
|||
#include "lib/mylcd.h"
|
||||
#include "lib/feature_wrappers.h"
|
||||
|
||||
#ifndef ALIGN_DOWN
|
||||
#define ALIGN_DOWN(n, a) ((typeof(n))((uintptr_t)(n)/(a)*(a)))
|
||||
#endif
|
||||
|
||||
/******************************* Globals ***********************************/
|
||||
|
||||
/*
|
||||
|
@ -218,7 +214,6 @@ typedef fb_data pix_t;
|
|||
#define PFREAL_ONE (1 << PFREAL_SHIFT)
|
||||
#define PFREAL_HALF (PFREAL_ONE >> 1)
|
||||
|
||||
|
||||
#define IANGLE_MAX 1024
|
||||
#define IANGLE_MASK 1023
|
||||
|
||||
|
@ -1134,7 +1129,9 @@ retry:
|
|||
avail += out;
|
||||
borrowed += out;
|
||||
|
||||
struct track_data *new_tracks = (struct track_data *)(out + (uintptr_t)tracks);
|
||||
struct track_data *new_tracks =
|
||||
(struct track_data *)(out + (uintptr_t)tracks);
|
||||
|
||||
unsigned int bytes = track_count * sizeof(struct track_data);
|
||||
if (track_count)
|
||||
rb->memmove(new_tracks, tracks, bytes);
|
||||
|
|
Loading…
Reference in a new issue