Skip to content

Commit 7f6dd7a

Browse files
committed
fixes for tk name changes - compile tested
1 parent 937889c commit 7f6dd7a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/sfTk/sfTkError.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ typedef int32_t sfTkError_t;
5252
/**
5353
* @brief General error code for a failure. Note all errors are negative.
5454
*/
55-
const sfTkError_t ksfkErrFail = -1; // general fail
55+
const sfTkError_t ksfTkErrFail = -1; // general fail
5656
/**
5757
* @brief The error code value for success. This is always 0.
5858
*/

src/sfTk/sfToolkit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3232
/**
3333
* @brief C function - Runtime check for system byte order
3434
*/
35-
sfeTKByteOrder sftk_system_byteorder(void)
35+
sfTkByteOrder sftk_system_byteorder(void)
3636
{
3737
uint16_t i = 1;
3838
return *((uint8_t *)&i) == 0 ? sfTkByteOrder::BigEndian : sfTkByteOrder::LittleEndian;

src/sfTk/sfToolkit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ enum class sfTkByteOrder : uint8_t
4444
// Note - toolkit *functions* start with sftk_ to avoid name collisions
4545

4646
// Function to determine the byte order of the system
47-
sfeTKByteOrder sftk_system_byteorder(void);
47+
sfTkByteOrder sftk_system_byteorder(void);
4848

4949
uint8_t sftk_byte_swap(uint8_t i);
5050
uint16_t sftk_byte_swap(uint16_t i);

src/sfTkArduino.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3535

3636
// Arduino-ize our byte order types
3737

38-
const sfTKByteOrder SFTK_MSBFIRST = sfTKByteOrder::BigEndian;
39-
const sfTKByteOrder SFTK_LSBFIRST = sfTKByteOrder::LittleEndian;
38+
const sfTkByteOrder SFTK_MSBFIRST = sfTkByteOrder::BigEndian;
39+
const sfTkByteOrder SFTK_LSBFIRST = sfTkByteOrder::LittleEndian;

0 commit comments

Comments
 (0)