organize: moved include files to inc/
This commit is contained in:
parent
7722a84b2e
commit
22fe7bdf0b
7 changed files with 7 additions and 7 deletions
|
|
@ -6,7 +6,7 @@
|
|||
// This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||
// defined by the Mozilla Public License, v. 2.0.
|
||||
|
||||
#include "Board.hpp"
|
||||
#include "inc/Board.hpp"
|
||||
#include "inc/strFuncs.hpp"
|
||||
|
||||
/*
|
||||
|
|
@ -40,7 +40,7 @@ Board::~Board() {
|
|||
|
||||
void Board::setupInitialPosition() {
|
||||
// set up the board grid with smart pointers
|
||||
// initialize each square with a Piece
|
||||
// initialize each square with a Piece or nullptr
|
||||
playerTurn = PL_WHITE;
|
||||
for(int i = 0; i < 8; i++) {
|
||||
switch(i) {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
// This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||
// defined by the Mozilla Public License, v. 2.0.
|
||||
|
||||
#include "NeoPixel.hpp"
|
||||
#include "inc/NeoPixel.hpp"
|
||||
|
||||
uint8_t setNeoPixel(uint8_t index, uint8_t red, uint8_t green, uint8_t blue) {
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
// This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||
// defined by the Mozilla Public License, v. 2.0.
|
||||
|
||||
#include "Piece.hpp"
|
||||
#include "inc/Piece.hpp"
|
||||
|
||||
Piece::~Piece() {
|
||||
return;
|
||||
|
|
|
|||
6
main.cpp
6
main.cpp
|
|
@ -49,9 +49,9 @@
|
|||
#include <sys/attribs.h> // for ISR macros
|
||||
#include <sys/kmem.h>
|
||||
|
||||
#include "Board.hpp"
|
||||
#include "Piece.hpp"
|
||||
#include "NeoPixel.hpp"
|
||||
#include "inc/Board.hpp"
|
||||
#include "inc/Piece.hpp"
|
||||
#include "inc/NeoPixel.hpp"
|
||||
|
||||
#define F_CPU 12000000UL // 12MHz
|
||||
#define F_PER 6000000UL // 6MHz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue