Skip to content

Commit

Permalink
Move screen drv in subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
TiboDevC committed Dec 8, 2022
1 parent ad3978e commit 6621de1
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ LIBRARIES_CXX_SRC += $(foreach dir,$(LIBRARIES_DIRS), $(wildcard $(dir)*/*.cpp))

TARGET_CC_SRC := $(wildcard $(SKETCH)/*.c)
TARGET_CC_SRC += $(wildcard $(SKETCH)/font/*.c)
TARGET_CC_SRC += $(wildcard $(SKETCH)/drv/screen/*.c)
TARGET_CXX_SRC := $(wildcard $(SKETCH)/*.cpp)

VARIANT_DIR := lib/ArduinoCore-samd/variants/mkrwifi1010
Expand Down
2 changes: 1 addition & 1 deletion alarm_clock/GUI_Paint.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@
#include <stdlib.h>
#include <string.h>

#include "DEV_Config.h"
#include "GUI_Paint.h"
#include "debug.h"
#include "drv/screen/DEV_Config.h"

static PAINT Paint;

Expand Down
4 changes: 2 additions & 2 deletions alarm_clock/GUI_Paint.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
#ifndef __GUI_PAINT_H
#define __GUI_PAINT_H

#include "DEV_Config.h"
#include "debug.h"
#include "fonts.h"
#include "drv/screen/DEV_Config.h"
#include "font/fonts.h"
#include "paint.hpp"

/**
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions alarm_clock/screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include "DEV_Config.h"
#include "EPD.h"
#include "GUI_Paint.h"
#include "alarm_flash_storage.h"
#include "button.h"
#include "drv/screen/DEV_Config.h"
#include "drv/screen/EPD.h"
#include "rtc_tool.h"
#include "screen.h"

Expand Down
2 changes: 1 addition & 1 deletion alarm_clock/state_init.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include "alarm_clock_fsm.h"

#include "DEV_Config.h"
#include "alarm_flash_storage.h"
#include "button.h"
#include "debug.h"
#include "drv/screen/DEV_Config.h"
#include "rtc_tool.h"
#include "screen.h"
#include "timer.h"
Expand Down
2 changes: 1 addition & 1 deletion alarm_clock/state_settings.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "alarm_clock_fsm.h"

#include "EPD_3in7.h"
#include "button.h"
#include "debug.h"
#include "drv/screen/EPD_3in7.h"
#include "rtc_tool.h"
#include "screen.h"

Expand Down

0 comments on commit 6621de1

Please sign in to comment.