void AT26D_EnableWrite(At26 *pAt26) { unsigned char error; SANITY_CHECK(pAt26); // Issue a write enable command error = AT26_SendCommand(pAt26, AT26_WRITE_ENABLE, 1, 0, 0, 0, 0, 0); ASSERT(!error, "-F- AT26_EnableWrite: Could not issue command.\n\r"); // Wait for transfer to finish AT26D_Wait(pAt26); }