formatting code using astyle

Origin commit data
------------------
Branch: master
Commit: bc17c13de4
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-17 (Mon, 17 May 2021)

Origin message was:
------------------
- formatting code using astyle

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-05-17 23:47:39 +02:00
parent 7335985023
commit f54b0e7bec
161 changed files with 13025 additions and 11357 deletions

View File

@@ -16,18 +16,19 @@ extern GLFramebuffer *glfb;
#define fb_pixel_t uint32_t
#endif
int main(int argc __attribute__((unused)), char ** argv __attribute__((unused)))
int main(int argc __attribute__((unused)), char **argv __attribute__((unused)))
{
hal_api_init();
#if HAVE_GENERIC_HARDWARE
int available = glfb->getOSDBuffer()->size(); /* allocated in glfb constructor */
fb_pixel_t *lfb = reinterpret_cast<fb_pixel_t*>(glfb->getOSDBuffer()->data());
fb_pixel_t *lfb = reinterpret_cast<fb_pixel_t *>(glfb->getOSDBuffer()->data());
int x = 0;
#endif
while (1) {
while (1)
{
#if HAVE_GENERIC_HARDWARE
fb_pixel_t c = (0xff << (8 * x))|0xff000000;
fb_pixel_t c = (0xff << (8 * x)) | 0xff000000;
x++;
if (x > 3) x = 0;
for (int i = 0; i < available / 4; i++)