Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-07 Thread Matthias Urlichs
Hi, Christian Magnusson: -if ( formatted_data[formatted_data_pointer+1] != ~data[i] ) { +if ( formatted_data[formatted_data_pointer+1] != (BYTE) ~data[i] ) { Can't see why this should fix it, since both variables are BYTE from the beginning. They don't stay that way.

Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-05 Thread Christian Magnusson
://owfs.sourceforge.net/openwrt/kamikaze/packages/owlib_2.6p6-8_mipsel.i pk /Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Allen Sent: den 5 oktober 2007 05:23 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-05 Thread Eric Allen
] *On Behalf Of *Eric Allen *Sent:* den 5 oktober 2007 05:23 *To:* owfs-developers@lists.sourceforge.net *Subject:* Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H I'd like to revert back, but I can't seem to find a p6 ipk for OpenWRT kamikaze. I'm trying to build my own, but I'm

Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-05 Thread Eric Allen
Got it. The variable cleanup slightly changed the checking code and caused it to fail every time. The attached patch against 2.6p7 makes the LCD work again. On 10/5/07, Eric Allen [EMAIL PROTECTED] wrote: If I take p7 and revert modules/owlib/src/c/ow_2408.c back to p6 then the LCD works. I'll

Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-05 Thread Paul Alfille
Wonderful. Applied. Quite a subtle problem. Who'd have thought that ~((unsigned char) val) was not of type (unsigned char). Paul Alfille On 10/5/07, Eric Allen [EMAIL PROTECTED] wrote: Got it. The variable cleanup slightly changed the checking code and caused it to fail every time. The

Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-04 Thread Eric Allen
I tried p6 and p7 on the Intel mac. p6 works fine, p7 doesn't. On 10/4/07, Gregg Levine [EMAIL PROTECTED] wrote: On 10/4/07, Eric Allen [EMAIL PROTECTED] wrote: I just tried upgrading to owfs 2.6p7 on my OpenWRT linksys box and discovered that the LCD_H interface to a Hobby Boards LCD now

Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-04 Thread Gregg C Levine
-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H I tried p6 and p7 on the Intel mac. p6 works fine, p7 doesn't. On 10/4/07, Gregg Levine [EMAIL PROTECTED] wrote: On 10/4/07, Eric Allen [EMAIL PROTECTED] wrote: I just tried upgrading to owfs

Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-04 Thread Eric Allen
PROTECTED] The Force will be with you. Always. Obi-Wan Kenobi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Allen Sent: Thursday, October 04, 2007 11:05 PM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] owfs 2.6p7

Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-04 Thread Eric Allen
Definitely not the correct number of characters. I even saw one instance where clear was shifting the entire display one character to the right. On 10/4/07, Paul Alfille [EMAIL PROTECTED] wrote: Nothing obvious on first perusal of the code. I'll dust off my LCD this weekend and debug the

Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H

2007-10-04 Thread Eric Allen
: Thursday, October 04, 2007 11:05 PM To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] owfs 2.6p7 causing trouble with LCD_H I tried p6 and p7 on the Intel mac. p6 works fine, p7 doesn't. On 10/4/07, Gregg Levine [EMAIL PROTECTED] wrote: On 10/4/07, Eric Allen