Commits

a1ex committed 64e55f5

PicoC: small fix for bulbpic

  • Participants
  • Parent commits b72ae8c

Comments (0)

Files changed (1)

File picoc/library_ml.c

 struct LibraryFunction PlatformLibrary[] =
 {
     /** General-purpose functions */
-    {LibSleep,          "void sleep(float delay);"        },  // sleep X seconds
+    {LibSleep,          "void sleep(float seconds);"    },  // sleep X seconds
     {LibBeep,           "void beep();"                  },  // short beep sound
     {LibConsoleShow,    "void console_show();"          },  // show the script console
     {LibConsoleHide,    "void console_hide();"          },  // hide the script console
 
     /** Picture taking */
     {LibTakePic,        "void takepic();"               },  // take a picture
-    {LibBulbPic,        "void bulbpic(int ms);"         },  // take a picture in bulb mode
+    {LibBulbPic,        "void bulbpic(float seconds);"  },  // take a picture in bulb mode
     
     /** Video recording */
     {LibMovieStart,     "void movie_start();"           },  // start recording