From 5245488f230814f30b8ad9a3c8f47492c712610b Mon Sep 17 00:00:00 2001 From: polymurph Date: Mon, 23 Aug 2021 08:48:46 +0200 Subject: [PATCH] added comment --- interfaces/spich.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interfaces/spich.hpp b/interfaces/spich.hpp index 46e2daa..4555865 100644 --- a/interfaces/spich.hpp +++ b/interfaces/spich.hpp @@ -36,6 +36,7 @@ struct SPICH uint8_t* buffer, const uint8_t& len) { + // spiHwCH.takeMutex(); chipSelect.write(false); spiHwCH.tx(address); @@ -45,6 +46,7 @@ struct SPICH }; chipSelect.write(true); + // spiHwCH.releaseMutex(); }