mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
624a60f456
The following changes where added. - Removes dependency to slave structure. Selecting a device on the bus only requires the unique romcode. - Make search operation mutual exclusive on the bus. This is necessary to prevent another driver instance from making a transition on the bus at the same time. - Skip also rom when only 1 slave is expected on the bus. Physical connected devuce should be indicated by the maxslave paramter during initializing, not the reigstered slaves. - Fixes some compiler warnings in existing ds28e17 driver. Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>