From 9009b24b5b59dc8851bbc38554372e8764bc1033 Mon Sep 17 00:00:00 2001 From: pichenettes <ol.gillet@gmail.com> Date: Sun, 24 Apr 2011 03:36:26 +0200 Subject: [PATCH] Fixed reference to SPI class in MCP492x code --- devices/mcp492x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/mcp492x.h b/devices/mcp492x.h index c05df4d..4bea3c6 100755 --- a/devices/mcp492x.h +++ b/devices/mcp492x.h @@ -70,7 +70,7 @@ class Dac { } private: - typedef Spi<slave_select_pin, MSB_FIRST, kDacSpeed> DacInterface; + typedef SPIMaster<slave_select_pin, MSB_FIRST, kDacSpeed> DacInterface; }; } // namespace avrlib