Documentation error

Beta Testing discussion on mikroPascal PRO for PIC32.
Post Reply
Author
Message
LGR
Posts: 3204
Joined: 23 Sep 2004 20:07

Documentation error

#1 Post by LGR » 21 Jun 2011 19:13

In the help file, under Mmc_Init, We have the following:
Example // MMC module connections
var Mmc_Chip_Select : sbit at LATF0_bit;
var Mmc_Chip_Select_Direction : sbit at TRISF0_bit;
// MMC module connections
...
// Initialize the SPI module
SPI2_Init_Advanced(_SPI_MASTER, _SPI_8_BIT, 64, _SPI_SS_DISABLE, _SPI_DATA_SAMPLE_MIDDLE, _SPI_CLK_IDLE_HIGH, _SPI_ACTIVE_2_IDLE);

// Initialize MMCs
Mmc_Fat();

// Reinitialize the SPI module at higher speed
SPI2_Init_Advanced(_SPI_MASTER, _SPI_8_BIT, 8, _SPI_SS_DISABLE, _SPI_DATA_SAMPLE_MIDDLE, _SPI_CLK_IDLE_HIGH, _SPI_ACTIVE_2_IDLE);
I believe that's supposed to be Mmc_Init instead of Mmc_Fat.
If you know what you're doing, you're not learning anything.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Documentation error

#2 Post by filip » 22 Jun 2011 10:11

Hi,

It has been fixed, thanks for your report.

Regards,
Filip.

Post Reply

Return to “mikroPascal PRO for PIC32 Beta Testing”