remove byte usage
This commit is contained in:
parent
f37c0b55c0
commit
0cf308be04
3 changed files with 2 additions and 4 deletions
|
@ -273,8 +273,6 @@
|
|||
#include <algorithm>
|
||||
#include <stdint.h>
|
||||
|
||||
typedef uint8_t byte;
|
||||
|
||||
using std::max;
|
||||
using std::min;
|
||||
#endif
|
||||
|
|
|
@ -58,7 +58,7 @@ char MorseClient::decode(uint8_t symbol, uint8_t len) {
|
|||
}
|
||||
|
||||
#if !defined(RADIOLIB_EXCLUDE_AFSK)
|
||||
int MorseClient::read(byte* symbol, byte* len, float low, float high) {
|
||||
int MorseClient::read(uint8_t* symbol, uint8_t* len, float low, float high) {
|
||||
Module* mod = _phy->getMod();
|
||||
|
||||
// measure pulse duration in us
|
||||
|
|
|
@ -153,7 +153,7 @@ class MorseClient {
|
|||
\returns 0 if not enough symbols were decoded, 1 if inter-character space was detected, 2 if inter-word space was detected.
|
||||
*/
|
||||
#if !defined(RADIOLIB_EXCLUDE_AFSK)
|
||||
int read(byte* symbol, byte* len, float low = 0.75f, float high = 1.25f);
|
||||
int read(uint8_t* symbol, uint8_t* len, float low = 0.75f, float high = 1.25f);
|
||||
#endif
|
||||
|
||||
size_t write(const char* str);
|
||||
|
|
Loading…
Add table
Reference in a new issue