Jump to content

[Version 1] Error In Teensyarduino Media_sdcard.c


hypervista
 Share

Recommended Posts

I believe I've found an error (typo) in the \hardware\teensy\cores\usb_disk\media_sdcard.c file. I am new to teensy development, having just gotten my board and microsd card kit. I got my dev environment set-up and started compiling and running some simple programs for the teensy card only.

Today, I soldered on the microsd card and began playing around with compiling some of the SDFat examples. I was having difficulty getting any of the SDFat examples to compile, getting an error relating to an undeclared media_restart() function. I began digging around a bit and discovered that there was a typo in the function media_restart() declaration (line 132 of \hardware\teensy\cores\usb_disk\media_sdcard.c). The function was declared as "void medie_restart()". Once I fixed the typo, the code compiles nicely.

Fyi, I'm using teensyarduino 0.9 with arduino-0019.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...