Skip to content

Commit

Permalink
Update pxt.json, im01.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
KalbeAbbas committed Oct 7, 2020
1 parent eab801d commit b72d1ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions im01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ String _read(String s)
char* error_no_file = "ERROR! NO FILE";
char* cant_read_file = "ERROR! CANT READ FILE";
//char* path = "/sd/im01/";
long lSize;
int lSize;
size_t b_read;

SDFileSystem sd(P0_21, P0_22, P0_23, P0_16, "sd");
Expand All @@ -48,7 +48,7 @@ String _read(String s)
return mkString(cant_read_file, strlen(cant_read_file));
}

String str = mkString(_word, strlen(_word));
String str = mkString(_word, lSize);

free(_word);
return str;
Expand Down
2 changes: 1 addition & 1 deletion pxt.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pxt-cw01",
"version": "0.3.3",
"version": "0.3.4",
"description": "",
"dependencies": {
"core": "*"
Expand Down

0 comments on commit b72d1ed

Please sign in to comment.