mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-04-28 18:34:01 -04:00
LoRa modulator: use signed char for armv8 compatibility
This commit is contained in:
parent
cee6c6fd04
commit
6883a0310d
@ -17,7 +17,7 @@
|
||||
|
||||
#include "loramodencodertty.h"
|
||||
|
||||
const char LoRaModEncoderTTY::asciiToTTYLetters[128] = {
|
||||
const signed char LoRaModEncoderTTY::asciiToTTYLetters[128] = {
|
||||
// '\x00' '\x01' '\x02' '\x03' '\x04' '\x05' '\x06' '\x07'
|
||||
0x00, -1 , -1 , -1 , -1 , -1 , -1 , -1 ,
|
||||
// '\x08' '\t' '\n' '\x0b' '\x0c' '\r' '\x0e' '\x0f'
|
||||
@ -52,7 +52,7 @@ const char LoRaModEncoderTTY::asciiToTTYLetters[128] = {
|
||||
0x1d, 0x15, 0x11, -1 , -1 , -1 , -1 , -1
|
||||
};
|
||||
|
||||
const char LoRaModEncoderTTY::asciiToTTYFigures[128] = {
|
||||
const signed char LoRaModEncoderTTY::asciiToTTYFigures[128] = {
|
||||
// '\x00' '\x01' '\x02' '\x03' '\x04' '\x05' '\x06' '\x07'
|
||||
0x00, -1 , -1 , -1 , -1 , -1 , -1 , 0x05,
|
||||
// '\x08' '\t' '\n' '\x0b' '\x0c' '\r' '\x0e' '\x0f'
|
||||
|
||||
@ -33,8 +33,8 @@ private:
|
||||
TTYFigures
|
||||
};
|
||||
|
||||
static const char asciiToTTYLetters[128];
|
||||
static const char asciiToTTYFigures[128];
|
||||
static const signed char asciiToTTYLetters[128];
|
||||
static const signed char asciiToTTYFigures[128];
|
||||
static const char ttyLetters = 0x1f;
|
||||
static const char ttyFigures = 0x1b;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user