From d8aee7498d9ca0c876d9d44490cb6b830fc48dca Mon Sep 17 00:00:00 2001 From: BlackMark Date: Sun, 28 Jul 2019 14:01:05 +0200 Subject: [PATCH] Removed unnecessary const qualifiers in template --- uart/io | 2 +- uart/main.cpp | 4 ++-- uart/uart | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/uart/io b/uart/io index d647937..387bc5f 160000 --- a/uart/io +++ b/uart/io @@ -1 +1 @@ -Subproject commit d64793770cd82513bedcb839b7878c9102aba258 +Subproject commit 387bc5f1107fb27684c0ed96f558a8c65c470cfe diff --git a/uart/main.cpp b/uart/main.cpp index 0608edb..cbcf178 100644 --- a/uart/main.cpp +++ b/uart/main.cpp @@ -17,7 +17,7 @@ enum class Parity { DISABLED = 0, ODD = 1, EVEN = 2 }; enum class StopBit { ONE = 1, TWO = 2 }; -template +template class hardware0 { static constexpr auto calcBaud() { @@ -246,7 +246,7 @@ enum class DataOrder { LSB, }; -template +template struct config { static constexpr auto CPOL_MODE = cpol; static constexpr auto CPHA_MODE = cpha; diff --git a/uart/uart b/uart/uart index 29b4d85..2bbba0f 160000 --- a/uart/uart +++ b/uart/uart @@ -1 +1 @@ -Subproject commit 29b4d85ce3e2a5467dc378f029b94fa35cb6c793 +Subproject commit 2bbba0fcbd6879fa6ca941cfec19dd2dcc9afd9e