This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to know if the scheduler is already running


Bart Veer wrote:

> So either the SPI driver is ignoring the polled flag, which is a bug
> in the driver, or higher-level code is failing to set the polled flag
> when it should. I have no way of telling which from the info supplied.

Oh, many thanks for the pointer to the possible cause.

Indeed, df_detect_device does this correctly. The problem
was my code where I tried to read a bit of additional
information off the chip to tweak the operation according
to the variant, where I used dev->polled instead of forced
true. All clear now.

Ross: thanks for your info too.

Regards
-- 
                             Stano

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]