Fix Allman bracing

This commit is contained in:
Alessio Caiazza 2021-12-04 19:18:01 +01:00 committed by Niccolò Izzo
parent 75f5a0a159
commit d4300c9c04
1 changed files with 2 additions and 3 deletions

View File

@ -22,8 +22,6 @@
#include <interfaces/keyboard.h> #include <interfaces/keyboard.h>
#include <SDL2/SDL.h> #include <SDL2/SDL.h>
int screenshot_display(const char *filename);
/* Shared channel to receive frame buffer updates */ /* Shared channel to receive frame buffer updates */
chan_t fb_sync; chan_t fb_sync;
@ -43,7 +41,8 @@ keyboard_t sdl_keys; /* Store the keyboard status */
bool sdk_key_code_to_key(SDL_KeyCode sym, keyboard_t *key) bool sdk_key_code_to_key(SDL_KeyCode sym, keyboard_t *key)
{ {
switch (sym) { switch (sym)
{
case SDLK_0: case SDLK_0:
*key = KEY_0; *key = KEY_0;
return true; return true;