RE: g_inode_sem.holder = -1

2022-09-15 Thread TimH
--- >From: Gregory Nutt >Sent: 14 September 2022 21:07 >To: dev@nuttx.apache.org >Subject: Re: g_inode_sem.holder = -1 > >> The only clue I have is that g_inode_sem.holder is set to -1, which >intuitively seems wrong to me, but this is way beyond me at this time of my >NuttX j

Re: g_inode_sem.holder = -1

2022-09-14 Thread Gregory Nutt
> The only clue I have is that g_inode_sem.holder is set to -1, which intuitively seems wrong to me, but this is way beyond me at this time of my NuttX journey! The value -1 is not an error. It means that one thread is waiting to take a count from the semaphore. The value of the semaphore was 0

g_inode_sem.holder = -1

2022-09-14 Thread TimH
Trying to get the touchscreen on my board registered and tested. It *seems* to register, and at one random point the touchscreen example app did report something that looked useful but I now cannot make any sense of it. The ADC itself is registered and the ADC example app works fine, but when I