refactor: move direction to library
2 files changed, 0 insertions(+), 18 deletions(-) D image-viewer/src/direction.c R {image-viewer => lib-pheripherals}/include/direction.h
D image-viewer/src/direction.c => image-viewer/src/direction.c +0 -18
@@ 1,18 0,0 @@ #include "direction.h" void direction_move_xy(direction_t direction, int32_t *x, int32_t *y, int16_t amount) { switch (direction) { case LEFT: *x -= amount; break; case RIGHT: *x += amount; break; case UP: *y -= amount; break; case DOWN: *y += amount; break; } }
R image-viewer/include/direction.h => lib-pheripherals/include/direction.h +0 -0