fixed the bug

This commit is contained in:
2018-01-04 13:45:41 +01:00
parent 71f5918e54
commit 645619e9c5
6 changed files with 19 additions and 10 deletions
+2
View File
@@ -155,6 +155,8 @@ static void DO_deInit(Unit *unit)
// de-init the pins only if inited correctly
if (unit->status == E_SUCCESS) {
assert_param(priv->port);
bool suc = true;
uint16_t mask = 1;
for (int i = 0; i < 16; i++, mask <<= 1) {