Ejemplo n.º 1
0
void tfe_detach(void)
{
#ifdef TFE_DEBUG
    log_message(tfe_log, "tfe_shutdown().");
#endif

    if (tfe_enabled) {
        cs8900_shutdown();
#ifdef TFE_DEBUG
        log_message(tfe_log, "...2");
#endif
    }

#ifdef TFE_DEBUG
    log_message(tfe_log, "tfe_shutdown() done.");
#endif
}
Ejemplo n.º 2
0
void cs8900io_detach(void)
{
#ifdef CS8900IO_DEBUG
    log_message(cs8900io_log, "cs8900io_shutdown().");
#endif

    if (cs8900io_enabled) {
        cs8900_shutdown();
        cs8900io_enabled = 0;
        should_activate = 0;
#ifdef CS8900IO_DEBUG
        log_message(cs8900io_log, "...2");
#endif
    }

#ifdef CS8900IO_DEBUG
    log_message(cs8900io_log, "cs8900io_shutdown() done.");
#endif
}