Changeset View
Changeset View
Standalone View
Standalone View
arm/lpc/ssd1289.c
Context not available. | |||||
static __inline void | static __inline void | ||||
ssd1289_spi_send(struct ssd1289_softc *sc, uint8_t *data, int len) | ssd1289_spi_send(struct ssd1289_softc *sc, uint8_t *data, int len) | ||||
{ | { | ||||
struct spi_command cmd; | struct spi_command cmd = SPI_COMMAND_INITIALIZER; | ||||
uint8_t buffer[8]; | uint8_t buffer[8]; | ||||
cmd.tx_cmd = data; | cmd.tx_cmd = data; | ||||
cmd.tx_cmd_sz = len; | cmd.tx_cmd_sz = len; | ||||
Context not available. |