aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-03 17:19:31 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-03 22:40:39 -0400
commitd992ac7ae79b889fd5680a7e15a18301bd9dc778 (patch)
treebcf8a813758af459144c7b9a3b1b9d69ae4fe970
parent94cdc275384674362f93017ef6cbc2117027e5b4 (diff)
downloadlibrambutan-d992ac7ae79b889fd5680a7e15a18301bd9dc778.tar.gz
librambutan-d992ac7ae79b889fd5680a7e15a18301bd9dc778.zip
libmaple/dac.c: Generalize comment about PA4/PA5.
Seems like this is true on F2 as well! Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--libmaple/dac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmaple/dac.c b/libmaple/dac.c
index f630ac0..83eb4bd 100644
--- a/libmaple/dac.c
+++ b/libmaple/dac.c
@@ -92,8 +92,8 @@ void dac_write_channel(const dac_dev *dev, uint8 channel, uint16 val) {
*/
void dac_enable_channel(const dac_dev *dev, uint8 channel) {
/*
- * Setup ANALOG mode on PA4 and PA5. This mapping is consistent across
- * all STM32 chips with a DAC. See RM0008 12.2.
+ * Setup ANALOG mode on PA4 and PA5. This mapping is consistent
+ * across all supported STM32s with a DAC.
*/
switch (channel) {
case 1: