Skip to content

Commit

Permalink
Moved newly introduced directory in its proper directory
Browse files Browse the repository at this point in the history
  • Loading branch information
salvestrini committed Apr 17, 2011
1 parent c1da27d commit d1e7609
Show file tree
Hide file tree
Showing 20 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libs/Core/WString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ String String::trim() const
return temp.substring( i, j + 1);
}

void String::getBytes(unsigned char *buf, unsigned int bufsize)
void String::getBytes(unsigned char *buf, unsigned int bufsize) const
{
if (!bufsize || !buf) return;
unsigned int len = bufsize - 1;
Expand All @@ -426,7 +426,7 @@ void String::getBytes(unsigned char *buf, unsigned int bufsize)
buf[len] = 0;
}

void String::toCharArray(char *buf, unsigned int bufsize)
void String::toCharArray(char *buf, unsigned int bufsize) const
{
if (!bufsize || !buf) return;
unsigned int len = bufsize - 1;
Expand Down
4 changes: 2 additions & 2 deletions libs/Core/WString.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ class String
String toLowerCase( ) const;
String toUpperCase( ) const;
String trim( ) const;
void getBytes(unsigned char *buf, unsigned int bufsize);
void toCharArray(char *buf, unsigned int bufsize);
void getBytes(unsigned char *buf, unsigned int bufsize) const;
void toCharArray(char *buf, unsigned int bufsize) const;
const String& concat( const String &str );
String replace( char oldChar, char newChar );
String replace( const String& match, const String& replace );
Expand Down
8 changes: 8 additions & 0 deletions src/USBHost/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
message(STATUS "Including ${CMAKE_CURRENT_LIST_FILE}")

include_directories(${ArduinoCode_SOURCE_DIR}/libs/Core)
include_directories(${ArduinoCode_BINARY_DIR}/libs/Core)

add_library(EEPROM STATIC
EEPROM.cpp
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d1e7609

Please sign in to comment.