|
From: | ThomasK |
Subject: | Re: [Simulavr-devel] Help needed: Pin handling broken |
Date: | Sun, 27 Jan 2013 11:21:57 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Hi Klaus,your problem with Pin class is a wrong implementation of OpenDrain class. And what you see as result is overwritten memory, sometimes you can get a segfault, sometimes it's only a endless loop! As I wrote, OpenDrain is unmaintained ... :-)
Appended a patch, with one of more possible and correct running implementations.
cu, Thomas
pin.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |