<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=4&amp;t=20770&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2018-05-22T13:25:41+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=20770&amp;mode</id>
<entry>
<author><name><![CDATA[matej1410]]></name></author>
<updated>2018-05-22T13:25:41+01:00</updated>
<published>2018-05-22T13:25:41+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20770&amp;p=208104#p208104</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20770&amp;p=208104#p208104"/>
<title type="html"><![CDATA[Re: watchdog ATMEGA324PA &quot;wdt_reset&quot; redefined]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20770&amp;p=208104#p208104"><![CDATA[
Dziękuję Mirku, tego właśnie szukałem<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1912">matej1410</a> — 22 maja 2018, o 13:25</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2018-05-22T12:48:00+01:00</updated>
<published>2018-05-22T12:48:00+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20770&amp;p=208099#p208099</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20770&amp;p=208099#p208099"/>
<title type="html"><![CDATA[Re: watchdog ATMEGA324PA &quot;wdt_reset&quot; redefined]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20770&amp;p=208099#p208099"><![CDATA[
to poczytaj sobie na stronie atnel.pl o informacje do programu MkBootloader - tam znajdziesz rozwiązanie<br /><br /><!-- m --><a class="postlink" href="http://atnel.pl/mkbootloader.html" >http://atnel.pl/mkbootloader.html</a><!-- m --><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=54">mirekk36</a> — 22 maja 2018, o 12:48</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[matej1410]]></name></author>
<updated>2018-05-22T12:44:58+01:00</updated>
<published>2018-05-22T12:44:58+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=20770&amp;p=208098#p208098</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=20770&amp;p=208098#p208098"/>
<title type="html"><![CDATA[watchdog ATMEGA324PA &quot;wdt_reset&quot; redefined]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=20770&amp;p=208098#p208098"><![CDATA[
Witam.<br /><br />Zgodnie z Poradnikiem Mirka dodałem do programu watchdoga.<br />[syntax=c]#include &lt;avr/wdt.h&gt;[/syntax]<br /><br /><br />[syntax=c]#define wdt_reset()   __asm__ __volatile__ (&quot;wdr&quot;)<br />#define wdt_enable(value)<br />#define wdt_disable()<br />#define WDTO_15MS   0<br />#define WDTO_30MS   1<br />#define WDTO_60MS   2<br />#define WDTO_120MS   3<br />#define WDTO_250MS   4<br />#define WDTO_500MS   5<br />#define WDTO_1S   6<br />#define WDTO_2S   7<br />#define WDTO_4S   8<br />#define WDTO_8S   9[/syntax]<br /><br />Po kompilacji środowisko zwraca mi taki odo warning:<br />&quot;wdt_reset&quot; redefined<br />Co więcej pomimo tego, że nie wywołuję nigdzie żadnej funkcji enable, reset ani disable, to procesor ciągle się resetuję.<br />Proszę o pomoc.<br /><br />Dodam jeszcze, że w pierwszej linijce wyłączam jeszcze watchdoga:<br /><br />[syntax=c]int main(void)<br />  {<br />  wdt_disable();<br /><br /><br />...[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1912">matej1410</a> — 22 maja 2018, o 12:44</p><hr />
]]></content>
</entry>
</feed>