From 169734446f72949bf8ab63fc979bd17aa044af86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Br=C3=BCggemann?= Date: Fri, 20 Aug 2021 19:57:34 +0200 Subject: [PATCH] Fix broken set outs --- io-helper.c | 1515 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 1511 insertions(+), 4 deletions(-) diff --git a/io-helper.c b/io-helper.c index 09ce1fd..2e05102 100644 --- a/io-helper.c +++ b/io-helper.c @@ -4,6 +4,11 @@ volatile uint32_t outStates = 0; volatile uint32_t inStates = 0; +void ioHelperCpBit(uint8_t reg, uint8_t bi, uint8_t bo) { + if(reg&(1<