AW: [En-Nut-Discussion] Fwd: Error on timeout

Dave Smart Dave at Smart-Family.net
Fri Nov 14 01:33:03 CET 2003


Having produced quite a bit of code that also strives for legacy
support, where possible, and then a graceful changeover, I might suggest
implementing a macro in its place - 

#define NutRegisterInterrupt(arglist...) \
#error NutRegisterInterrupt is obsolete, please use
NutRegisterIrqHandler...

This gives the user in the migration path a hint rather than a link
error.

Dave

-----Original Message-----

>To Harald: What about deleting the file irqreg.c out of the source list

>in dev/Makefile?

Yes. Initial intention was backward compatibility.
But that would require to split dev/irqreg.c.
I'll better delete it.

Harald




More information about the En-Nut-Discussion mailing list