Changed include guard to pragma once

This commit is contained in:
BlackMark 2020-02-21 16:48:31 +01:00
parent df6470c846
commit 9735d4e86a

11
spi.hpp
View File

@ -1,11 +1,4 @@
/* #pragma once
* Copyright (c) by BlackMark 2016-2017
* Date 17/09/2017
* Version 1.4
*/
#ifndef SPI_H
#define SPI_H
#include "../inout/inout.h" #include "../inout/inout.h"
#include <avr/io.h> #include <avr/io.h>
@ -54,8 +47,6 @@ class SPI {
static void select(bool bSelect); static void select(bool bSelect);
}; };
#endif
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
InOutPin SPI::sm_cSCK; InOutPin SPI::sm_cSCK;
InOutPin SPI::sm_cMISO; InOutPin SPI::sm_cMISO;