X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/9d18e10afb2439a6a9ba6978a799259746a837b7..43d5996dfe4424a1025d1657e3e37c96f59bd005:/drivers/dac/mcp4725/mcp4725.c diff --git a/drivers/dac/mcp4725/mcp4725.c b/drivers/dac/mcp4725/mcp4725.c index 7b9c6ac..1699eb7 100644 --- a/drivers/dac/mcp4725/mcp4725.c +++ b/drivers/dac/mcp4725/mcp4725.c @@ -19,7 +19,7 @@ // Request the current value from the DAC uint8_t status = 0; uint16_t value = 0; - mcp472ReadConfig(&status, &value); + mcp4725ReadConfig(&status, &value); @endcode @@ -135,7 +135,7 @@ void mcp4725SetVoltage( uint16_t output, bool writeEEPROM ) Pointer to hold the output value of the 12-bit DAC */ /**************************************************************************/ -void mcp472ReadConfig( uint8_t *status, uint16_t *value ) +void mcp4725ReadConfig( uint8_t *status, uint16_t *value ) { if (!_mcp4725Initialised) mcp4725Init();