insane-adding-machines / frosted

Frosted: Free POSIX OS for tiny embedded devices
GNU General Public License v2.0
214 stars 39 forks source link

CONFIG_LOWPOWER at wrong place? #108

Closed kuldeepdhaka closed 7 years ago

kuldeepdhaka commented 7 years ago
#ifndef CONFIG_LOWPOWER
    usb->dev.poll = pico_usbeth_poll;
#endif

if CONFIG_LOWPOWER is defined, usb->dev.poll will be NULL.

In commit https://github.com/insane-adding-machines/frosted/commit/79b8a75e4c0b44c594c01fbb3df4fdbc0b539080 "#ifndef ..." should have be removed too?