[ntp:questions] nmea and initial large offset
Uwe Klein
uwe_klein_habertwedt at t-online.de
Sat May 8 11:04:40 UTC 2010
David Woolley wrote:
> Uwe Klein wrote:
>
>> Rob wrote:
>>
>>> Defending silly algorithms in code with limitations in old hardware no
>>> longer in use in running systems seems a bit silly to me.
>>
>>
>>
>> Any abstraction _must_ cover all variations that are sensible or
>> expectable.
>
>
> It seems to me that an abstraction that allows for the year is more
> general than one that doesn't. It should be the driver's responsibility
> for fixing up cases where the device doesn't provide the year, with
> maybe the help of a driver support utility library routine.
>
There are various simple ways to hand over variable information in a
universal structure. length, capability flags...
uwe
More information about the questions
mailing list