From 9f7052cf17dbed5c63fbfe1e56cbd2cf9418ccab Mon Sep 17 00:00:00 2001 From: Nikolay Khabarov <2xl@mail.ru> Date: Sun, 23 Jul 2017 03:14:16 +0300 Subject: [PATCH] fix description --- cnc/hal_raspberry/rpgpio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cnc/hal_raspberry/rpgpio.py b/cnc/hal_raspberry/rpgpio.py index 2030c42..06f9aec 100755 --- a/cnc/hal_raspberry/rpgpio.py +++ b/cnc/hal_raspberry/rpgpio.py @@ -387,8 +387,8 @@ class DMAWatchdog(DMAProto): 0, ba + self._DMA_CONTROL_BLOCK_SIZE, 0, 0 ) ba += self._DMA_CONTROL_BLOCK_SIZE - # The last block writes zero(switch to input state) in GPIO's FSEL - # register in normal operating, should never be called, until watchdog + # The last block writes zeros(switches to input state) in GPIO's FSEL + # registers. In normal operating should never be called until watchdog # timeout is reached. data += ( DMA_TI_NO_WIDE_BURSTS | DMA_TI_WAIT_RESP | DMA_TI_DEST_INC,