<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/cc1111/ao_button.c, branch telefire-4-no-addr</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=telefire-4-no-addr</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=telefire-4-no-addr'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2016-07-12T22:41:41+00:00</updated>
<entry>
<title>Switch from GPLv2 to GPLv2+</title>
<updated>2016-07-12T22:41:41+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2016-07-05T16:03:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a'/>
<id>urn:sha1:1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Replace ao_alarm/ao_clear_alarm with ao_sleep_for</title>
<updated>2015-02-14T07:51:10+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-02-14T07:51:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=f4c812bef76a2cd95f675cb27ea89059561ceec7'/>
<id>urn:sha1:f4c812bef76a2cd95f675cb27ea89059561ceec7</id>
<content type='text'>
Having arbitrary alarms firing in the middle of complicated device
logic makes no sense at all. Therefore only correct use of ao_alarm
and ao_clear_alarm was around a specific ao_sleep call, with correct
recovery in case the alarm fires.

This patch replaces all uses of ao_alarm/ao_sleep/ao_clear_alarm with
ao_sleep_for, a new function which takes the alarm timeout directly.

A few cases which weren't simply calling ao_sleep have been reworked
to pass the timeout value down to the place where sleep *is* being
called, and having that code deal with the return correctly.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: debounce buttons</title>
<updated>2011-11-13T02:30:56+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-11-13T02:30:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=4de8bf6da4d725bb0514d032b0708c5cf420e8fa'/>
<id>urn:sha1:4de8bf6da4d725bb0514d032b0708c5cf420e8fa</id>
<content type='text'>
Provide API to clear out any button events that happen during startup,
and then discard button events 'too close' together.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Bring up basic TeleTerra v0.2 UI</title>
<updated>2011-10-27T05:49:11+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-10-27T05:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=da330c5975b9f565d059ef8084dfdacc20f34246'/>
<id>urn:sha1:da330c5975b9f565d059ef8084dfdacc20f34246</id>
<content type='text'>
Lots of fun stuff here -- multiple panes of information.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Flip button IRQ initialization around</title>
<updated>2011-10-23T22:24:02+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-10-23T22:24:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8e4cceedb5b758faae684978299e667c4bb06f4d'/>
<id>urn:sha1:8e4cceedb5b758faae684978299e667c4bb06f4d</id>
<content type='text'>
This matches what the docs suggest

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add button driver and sample user</title>
<updated>2011-10-23T21:08:59+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2011-10-23T21:08:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=7e7a10c06a0486e9f869e361e46f2c98db9897b0'/>
<id>urn:sha1:7e7a10c06a0486e9f869e361e46f2c98db9897b0</id>
<content type='text'>
Hook up the teleterra buttons and have them beep

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
