From b0b43f0edbc245535d05a2437ca0685ea4c41d43 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Mon, 5 Aug 2019 21:21:14 +0200 Subject: [PATCH] Initial commit --- .clang-format | 13 +++++++++++++ .gitattributes | 9 +++++++++ .gitignore | 4 ++++ i2c.hpp | 1 + 4 files changed, 27 insertions(+) create mode 100644 .clang-format create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 i2c.hpp diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..63ebf38 --- /dev/null +++ b/.clang-format @@ -0,0 +1,13 @@ +--- +BasedOnStyle: LLVM +ColumnLimit: 120 +IndentWidth: 4 +TabWidth: 4 +UseTab: ForIndentation +AlignEscapedNewlines: DontAlign +AllowShortFunctionsOnASingleLine: Empty +AlwaysBreakTemplateDeclarations: true +BreakBeforeBraces: Custom +BraceWrapping: + AfterFunction: true +... diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..3e5b64f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +*.h eol=lf +*.hpp eol=lf +*.c eol=lf +*.cpp eol=lf +.git* eol=lf +*.vcxproj* eol=crlf +*.cppproj eol=crlf +*.sln eol=crlf +*.atsln eol=crlf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..edee58b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.vs +Release +Debug +*.componentinfo.xml diff --git a/i2c.hpp b/i2c.hpp new file mode 100644 index 0000000..6f70f09 --- /dev/null +++ b/i2c.hpp @@ -0,0 +1 @@ +#pragma once