Skip to content

Commit

Permalink
Typos (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
emericg authored Mar 28, 2022
1 parent d5b82e6 commit d3cc29e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.3)

project(decoder VERSION 0.1.0)
project(decoder VERSION 0.2.2)

add_library(decoder
src/decoder.cpp
Expand Down
14 changes: 7 additions & 7 deletions src/decoder.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
TheengsDecoder - Decode things and devices
/*
TheengsDecoder - Decode things and devices
Copyright: (c)Florian ROBERT
This file is part of TheengsDecoder.
TheengsDecoder is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down Expand Up @@ -47,7 +47,7 @@ typedef double (TheengsDecoder::*decoder_function)(const char* data_str,
bool reverse, bool canBeNegative);

/*
* @breif revert the string data 2 by 2 to get the correct endianness
* @brief Revert the string data 2 by 2 to get the correct endianness
*/
void TheengsDecoder::reverse_hex_data(const char* in, char* out, int l) {
int i = l, j = 0;
Expand Down Expand Up @@ -78,7 +78,7 @@ double TheengsDecoder::bf_value_from_hex_string(const char* data_str,
}

/*
* @breif Extracts the data value from the data string
* @brief Extracts the data value from the data string
*/
double TheengsDecoder::value_from_hex_string(const char* data_str,
int offset, int data_length,
Expand Down Expand Up @@ -350,7 +350,7 @@ bool TheengsDecoder::checkPropCondition(const JsonArray& prop_condition,
}

/*
* @breif Compares the input json values to the known devices and
* @brief Compares the input json values to the known devices and
* decodes the data if a match is found.
*/
int TheengsDecoder::decodeBLEJson(JsonObject& jsondata) {
Expand Down
8 changes: 4 additions & 4 deletions src/decoder.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
TheengsDecoder - Decode things and devices
/*
TheengsDecoder - Decode things and devices
Copyright: (c)Florian ROBERT
This file is part of TheengsDecoder.
TheengsDecoder is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down
8 changes: 4 additions & 4 deletions src/devices.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
TheengsDecoder - Decode things and devices
/*
TheengsDecoder - Decode things and devices
Copyright: (c)Florian ROBERT
This file is part of TheengsDecoder.
TheengsDecoder is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
Expand Down

0 comments on commit d3cc29e

Please sign in to comment.