mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d7dd0b357 | ||
|
|
36ea75a6df | ||
|
|
59b57ad80b | ||
|
|
cfcb8a27e6 | ||
|
|
fa43aebec2 | ||
|
|
3182440854 | ||
|
|
78e1a1b628 | ||
|
|
eb39bf8666 | ||
|
|
44f4c12eed | ||
|
|
a33b05eb7c |
@@ -3,9 +3,9 @@
|
|||||||
"languageLocalName": "Português",
|
"languageLocalName": "Português",
|
||||||
"cyrillicGlyphs": false,
|
"cyrillicGlyphs": false,
|
||||||
"messages": {
|
"messages": {
|
||||||
"SettingsCalibrationDone": "Calibration done!",
|
"SettingsCalibrationDone": "Calibração terminada!",
|
||||||
"SettingsCalibrationWarning": "A ponta deve estar em temperatura ambiente antes de continuar!",
|
"SettingsCalibrationWarning": "A ponta deve estar à temperatura ambiente antes de continuar!",
|
||||||
"SettingsResetWarning": "Resetar para ajustes de fábrica?",
|
"SettingsResetWarning": "Definições de fábrica?",
|
||||||
"UVLOWarningString": "DC BAIXO",
|
"UVLOWarningString": "DC BAIXO",
|
||||||
"UndervoltageString": "Subtensão",
|
"UndervoltageString": "Subtensão",
|
||||||
"InputVoltageString": "Tensão ",
|
"InputVoltageString": "Tensão ",
|
||||||
@@ -48,9 +48,9 @@
|
|||||||
"UIMenu": {
|
"UIMenu": {
|
||||||
"text2": [
|
"text2": [
|
||||||
"Interface",
|
"Interface",
|
||||||
"Usuário"
|
"Utilizador"
|
||||||
],
|
],
|
||||||
"desc": "Configurações da interface do usuário"
|
"desc": "Configurações do interface do utilizador"
|
||||||
},
|
},
|
||||||
"AdvancedMenu": {
|
"AdvancedMenu": {
|
||||||
"text2": [
|
"text2": [
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
"Fonte",
|
"Fonte",
|
||||||
"alimentação"
|
"alimentação"
|
||||||
],
|
],
|
||||||
"desc": "nte de alimentação. Define a tensão de corte. <DC=10V> <S=3.3V/célula>"
|
"desc": "Fonte de alimentação. Define a tensão de corte. <DC=10V> <S=3.3V/célula>"
|
||||||
},
|
},
|
||||||
"SleepTemperature": {
|
"SleepTemperature": {
|
||||||
"text": "TMPE",
|
"text": "TMPE",
|
||||||
@@ -110,12 +110,12 @@
|
|||||||
"desc": "Unidade de temperatura <C=Celsius F=Fahrenheit>"
|
"desc": "Unidade de temperatura <C=Celsius F=Fahrenheit>"
|
||||||
},
|
},
|
||||||
"AdvancedIdle": {
|
"AdvancedIdle": {
|
||||||
"text": "OCIOSO",
|
"text": "EM ESPERA",
|
||||||
"text2": [
|
"text2": [
|
||||||
"Tela repouso",
|
"Tela repouso",
|
||||||
"avançada"
|
"avançada"
|
||||||
],
|
],
|
||||||
"desc": "Exibe informações avançadas quando ocioso"
|
"desc": "Exibe informações avançadas quando em espera"
|
||||||
},
|
},
|
||||||
"DisplayRotation": {
|
"DisplayRotation": {
|
||||||
"text": "ORIENT",
|
"text": "ORIENT",
|
||||||
@@ -129,9 +129,9 @@
|
|||||||
"text": "TURBO",
|
"text": "TURBO",
|
||||||
"text2": [
|
"text2": [
|
||||||
"Modo turbo",
|
"Modo turbo",
|
||||||
"ativado"
|
"activado"
|
||||||
],
|
],
|
||||||
"desc": "Tecla frontal ativa modo \"turbo\""
|
"desc": "Tecla frontal activa modo \"turbo\""
|
||||||
},
|
},
|
||||||
"BoostTemperature": {
|
"BoostTemperature": {
|
||||||
"text": "TTMP",
|
"text": "TTMP",
|
||||||
@@ -153,9 +153,9 @@
|
|||||||
"text": "RESFRI",
|
"text": "RESFRI",
|
||||||
"text2": [
|
"text2": [
|
||||||
"Piscar ao",
|
"Piscar ao",
|
||||||
"resfriar"
|
"arrefecer"
|
||||||
],
|
],
|
||||||
"desc": "Faz o valor da temperatura piscar durante o resfriamento"
|
"desc": "Faz o valor da temperatura piscar durante o arrefecimento"
|
||||||
},
|
},
|
||||||
"TemperatureCalibration": {
|
"TemperatureCalibration": {
|
||||||
"text": "CAL.TEMP",
|
"text": "CAL.TEMP",
|
||||||
@@ -166,7 +166,7 @@
|
|||||||
"desc": "Calibra a temperatura"
|
"desc": "Calibra a temperatura"
|
||||||
},
|
},
|
||||||
"SettingsReset": {
|
"SettingsReset": {
|
||||||
"text": "RESETAR",
|
"text": "RESET",
|
||||||
"text2": [
|
"text2": [
|
||||||
"Reset de",
|
"Reset de",
|
||||||
"fábrica?"
|
"fábrica?"
|
||||||
@@ -179,7 +179,7 @@
|
|||||||
"Calibrar",
|
"Calibrar",
|
||||||
"tensão"
|
"tensão"
|
||||||
],
|
],
|
||||||
"desc": "Calibra a tensão de alimentação. Use os botões para ajustar o valor. Mantenha presionado para sair"
|
"desc": "Calibra a tensão de alimentação. Use os botões para ajustar o valor. Mantenha pressionado para sair"
|
||||||
},
|
},
|
||||||
"AdvancedSoldering": {
|
"AdvancedSoldering": {
|
||||||
"text": "AVNCAD",
|
"text": "AVNCAD",
|
||||||
@@ -195,39 +195,39 @@
|
|||||||
"Velocidade",
|
"Velocidade",
|
||||||
"texto ajuda"
|
"texto ajuda"
|
||||||
],
|
],
|
||||||
"desc": "Velocidade que esse texto é exibido"
|
"desc": "Velocidade a que o texto é exibido"
|
||||||
},
|
},
|
||||||
"TipModel": {
|
"TipModel": {
|
||||||
"text": "TIPMO",
|
"text": "MODPNT",
|
||||||
"text2": [
|
"text2": [
|
||||||
"Tip",
|
"Ponta",
|
||||||
"Model"
|
"Modelo"
|
||||||
],
|
],
|
||||||
"desc": "Tip Model selection"
|
"desc": "Selecção de modelo de ponta"
|
||||||
},
|
},
|
||||||
"SimpleCalibrationMode": {
|
"SimpleCalibrationMode": {
|
||||||
"text": "SMPCAL",
|
"text": "SMPCAL",
|
||||||
"text2": [
|
"text2": [
|
||||||
"Simple",
|
"Calibração",
|
||||||
"Calibration"
|
"Simples"
|
||||||
],
|
],
|
||||||
"desc": "Simple Calibration using Hot water"
|
"desc": "Calibração simples com água quente"
|
||||||
},
|
},
|
||||||
"AdvancedCalibrationMode": {
|
"AdvancedCalibrationMode": {
|
||||||
"text": "ADVCAL",
|
"text": "ADVCAL",
|
||||||
"text2": [
|
"text2": [
|
||||||
"Advanced",
|
"Calibração",
|
||||||
"Calibration"
|
"Avançada"
|
||||||
],
|
],
|
||||||
"desc": "Advanced calibration using thermocouple on the tip"
|
"desc": "Calibração avançada com um termopar na ponta"
|
||||||
},
|
},
|
||||||
"PowerInput": {
|
"PowerInput": {
|
||||||
"text": "PWRW",
|
"text": "PWRW",
|
||||||
"text2": [
|
"text2": [
|
||||||
"Power",
|
"Potência",
|
||||||
"Wattage"
|
"Fonte"
|
||||||
],
|
],
|
||||||
"desc": "Power Wattage of the power adapter used"
|
"desc": "Potência da fonte usada (Watt)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,11 @@
|
|||||||
#ifndef FONT_H_
|
#ifndef FONT_H_
|
||||||
#define FONT_H_
|
#define FONT_H_
|
||||||
#include "Translation.h"
|
#include "Translation.h"
|
||||||
|
#ifdef LANG_RU
|
||||||
|
#ifndef CYRILLIC_GLYPHS
|
||||||
|
#define CYRILLIC_GLYPHS
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
#define FONT_12_WIDTH 12
|
#define FONT_12_WIDTH 12
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -19,15 +19,15 @@ public:
|
|||||||
static Orientation getOrientation() {
|
static Orientation getOrientation() {
|
||||||
#ifdef MODEL_TS80
|
#ifdef MODEL_TS80
|
||||||
uint8_t val = (FRToSI2C::I2C_RegisterRead(LIS2DH_I2C_ADDRESS,
|
uint8_t val = (FRToSI2C::I2C_RegisterRead(LIS2DH_I2C_ADDRESS,
|
||||||
LIS_INT2_SRC) >> 2);
|
LIS_INT2_SRC) >> 2);
|
||||||
if (val == 8)
|
if (val == 8)
|
||||||
val = 3;
|
val = 3;
|
||||||
else if (val==1)
|
else if (val == 1)
|
||||||
val=0;
|
val = 1;
|
||||||
else if(val==2)
|
else if (val == 2)
|
||||||
val=1;
|
val = 0;
|
||||||
else
|
else
|
||||||
val=3;
|
val = 3;
|
||||||
return static_cast<Orientation>(val);
|
return static_cast<Orientation>(val);
|
||||||
#endif
|
#endif
|
||||||
#ifdef MODEL_TS100
|
#ifdef MODEL_TS100
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
#define SETTINGS_H_
|
#define SETTINGS_H_
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "stm32f1xx_hal.h"
|
#include "stm32f1xx_hal.h"
|
||||||
#define SETTINGSVERSION \
|
#define SETTINGSVERSION ( 0x19 )
|
||||||
0x18 /*Change this if you change the struct below to prevent people getting \
|
/*Change this if you change the struct below to prevent people getting \
|
||||||
out of sync*/
|
out of sync*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -23,7 +23,7 @@ typedef struct {
|
|||||||
uint16_t SolderingTemp; // current set point for the iron
|
uint16_t SolderingTemp; // current set point for the iron
|
||||||
uint16_t SleepTemp; // temp to drop to in sleep
|
uint16_t SleepTemp; // temp to drop to in sleep
|
||||||
uint8_t SleepTime; // minutes timeout to sleep
|
uint8_t SleepTime; // minutes timeout to sleep
|
||||||
uint8_t cutoutSetting; // The voltage we cut out at for under voltage OR Power level for TS80
|
uint8_t cutoutSetting; // The voltage we cut out at for under voltage OR Power level for TS80
|
||||||
uint8_t OrientationMode :2; // If true we want to invert the display for lefties
|
uint8_t OrientationMode :2; // If true we want to invert the display for lefties
|
||||||
uint8_t sensitivity :4; // Sensitivity of accelerometer (5 bits)
|
uint8_t sensitivity :4; // Sensitivity of accelerometer (5 bits)
|
||||||
uint8_t autoStartMode :2; // Should the unit automatically jump straight
|
uint8_t autoStartMode :2; // Should the unit automatically jump straight
|
||||||
|
|||||||
@@ -144,6 +144,9 @@ void OLED::drawChar(char c, char PrecursorCommand) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void OLED::setRotation(bool leftHanded) {
|
void OLED::setRotation(bool leftHanded) {
|
||||||
|
#ifdef MODEL_TS80
|
||||||
|
leftHanded=!leftHanded;
|
||||||
|
#endif
|
||||||
if (inLeftHandedMode == leftHanded) {
|
if (inLeftHandedMode == leftHanded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -947,9 +947,9 @@ const char* SettingsDescriptions[] = {
|
|||||||
/* ShutdownTimeout */ "Imposta il timer per lo spegnimento <minuti>",
|
/* ShutdownTimeout */ "Imposta il timer per lo spegnimento <minuti>",
|
||||||
/* MotionSensitivity */ "Imposta la sensibilità al movimento per uscire dalla modalità Standby <0: nessuna; 1: minima; 9: massima>",
|
/* MotionSensitivity */ "Imposta la sensibilità al movimento per uscire dalla modalità Standby <0: nessuna; 1: minima; 9: massima>",
|
||||||
/* TemperatureUnit */ "Scegli l'unità di misura per la temperatura <C: grado Celsius; F: grado Farenheit>",
|
/* TemperatureUnit */ "Scegli l'unità di misura per la temperatura <C: grado Celsius; F: grado Farenheit>",
|
||||||
/* AdvancedIdle */ "Mostra informazioni dettagliate con un carattere più piccolo all'interno della schermata principale",
|
/* AdvancedIdle */ "Mostra informazioni dettagliate all'interno della schermata principale",
|
||||||
/* DisplayRotation */ "Imposta l'orientamento del display <A: automatico; S: mano sinistra; D: mano destra>",
|
/* DisplayRotation */ "Imposta l'orientamento del display <A: automatico; S: mano sinistra; D: mano destra>",
|
||||||
/* BoostEnabled */ "Il tasto superiore attiva la funzione «Turbo» durante la modalità Saldatura",
|
/* BoostEnabled */ "Attiva la funzione «Turbo», durante la modalità Saldatura, tenendo premuto il tasto superiore",
|
||||||
/* BoostTemperature */ "Imposta la temperatura della funzione «Turbo»",
|
/* BoostTemperature */ "Imposta la temperatura della funzione «Turbo»",
|
||||||
/* AutoStart */ "Attiva automaticamente il saldatore quando viene alimentato <A: saldatura; S: standby; D: disattiva>",
|
/* AutoStart */ "Attiva automaticamente il saldatore quando viene alimentato <A: saldatura; S: standby; D: disattiva>",
|
||||||
/* CooldownBlink */ "Mostra, lampeggiante, la temperatura durante il raffreddamento se la punta è ancora calda",
|
/* CooldownBlink */ "Mostra, lampeggiante, la temperatura durante il raffreddamento se la punta è ancora calda",
|
||||||
@@ -961,7 +961,7 @@ const char* SettingsDescriptions[] = {
|
|||||||
/* TipModel */ "Seleziona il modello della punta in uso",
|
/* TipModel */ "Seleziona il modello della punta in uso",
|
||||||
/* SimpleCalibrationMode */ "Calibra le rilevazioni di temperatura tramite l'utilizzo di acqua calda",
|
/* SimpleCalibrationMode */ "Calibra le rilevazioni di temperatura tramite l'utilizzo di acqua calda",
|
||||||
/* AdvancedCalibrationMode */ "Calibra le rilevazioni di temperatura attraverso la termocoppia presente nella punta",
|
/* AdvancedCalibrationMode */ "Calibra le rilevazioni di temperatura attraverso la termocoppia presente nella punta",
|
||||||
/* PowerInput */ "Imposta la potenza dell'alimentatore in uso",
|
/* PowerInput */ "Imposta la potenza massima erogabile dall'alimentatore in uso",
|
||||||
};
|
};
|
||||||
|
|
||||||
const char* SettingsCalibrationDone = "Calibrazione effettuata";
|
const char* SettingsCalibrationDone = "Calibrazione effettuata";
|
||||||
@@ -977,10 +977,10 @@ const char* SleepingAdvancedString = "Standby";
|
|||||||
const char* WarningSimpleString = "HOT!";
|
const char* WarningSimpleString = "HOT!";
|
||||||
const char* WarningAdvancedString = "PUNTA CALDA!";
|
const char* WarningAdvancedString = "PUNTA CALDA!";
|
||||||
const char* SleepingTipAdvancedString = "Punta:";
|
const char* SleepingTipAdvancedString = "Punta:";
|
||||||
const char* IdleTipString = "Punta:";
|
const char* IdleTipString = "T punta:";
|
||||||
const char* IdleSetString = "/";
|
const char* IdleSetString = "/";
|
||||||
const char* TipDisconnectedString = "PUNTA ASSENTE";
|
const char* TipDisconnectedString = "PUNTA ASSENTE";
|
||||||
const char* SolderingAdvancedPowerPrompt = "Potenza:";
|
const char* SolderingAdvancedPowerPrompt = "Potenz:";
|
||||||
const char* OffString = "OFF";
|
const char* OffString = "OFF";
|
||||||
|
|
||||||
const char SettingRightChar = 'D';
|
const char SettingRightChar = 'D';
|
||||||
@@ -997,7 +997,7 @@ const char* SettingsShortNames[][2] = {
|
|||||||
/* ShutdownTimeout */ { "Timer", "spegnimento" },
|
/* ShutdownTimeout */ { "Timer", "spegnimento" },
|
||||||
/* MotionSensitivity */ { "Sensibilità", "al movimento" },
|
/* MotionSensitivity */ { "Sensibilità", "al movimento" },
|
||||||
/* TemperatureUnit */ { "Unità di", "temperatura" },
|
/* TemperatureUnit */ { "Unità di", "temperatura" },
|
||||||
/* AdvancedIdle */ { "Mostra", "dettagli" },
|
/* AdvancedIdle */ { "Interfaccia", "testuale" },
|
||||||
/* DisplayRotation */ { "Orientamento", "display" },
|
/* DisplayRotation */ { "Orientamento", "display" },
|
||||||
/* BoostEnabled */ { "Funzione", "«Turbo»" },
|
/* BoostEnabled */ { "Funzione", "«Turbo»" },
|
||||||
/* BoostTemperature */ { "Temp", "«Turbo»" },
|
/* BoostTemperature */ { "Temp", "«Turbo»" },
|
||||||
@@ -1008,7 +1008,7 @@ const char* SettingsShortNames[][2] = {
|
|||||||
/* VoltageCalibration */ { "Calibrazione", "tensione" },
|
/* VoltageCalibration */ { "Calibrazione", "tensione" },
|
||||||
/* AdvancedSoldering */ { "Dettagli", "saldatura" },
|
/* AdvancedSoldering */ { "Dettagli", "saldatura" },
|
||||||
/* ScrollingSpeed */ { "Velocità", "testo" },
|
/* ScrollingSpeed */ { "Velocità", "testo" },
|
||||||
/* TipModel */ { "Modello", "della punta" },
|
/* TipModel */ { "Modello", "punta" },
|
||||||
/* SimpleCalibrationMode */ { "Calibrazione", "semplice" },
|
/* SimpleCalibrationMode */ { "Calibrazione", "semplice" },
|
||||||
/* AdvancedCalibrationMode */ { "Calibrazione", "avanzata" },
|
/* AdvancedCalibrationMode */ { "Calibrazione", "avanzata" },
|
||||||
/* PowerInput */ { "Potenza", "alimentaz" },
|
/* PowerInput */ { "Potenza", "alimentaz" },
|
||||||
|
|||||||
@@ -472,10 +472,10 @@ static void settings_setDisplayRotation(void) {
|
|||||||
systemSettings.OrientationMode = systemSettings.OrientationMode % 3;
|
systemSettings.OrientationMode = systemSettings.OrientationMode % 3;
|
||||||
switch (systemSettings.OrientationMode) {
|
switch (systemSettings.OrientationMode) {
|
||||||
case 0:
|
case 0:
|
||||||
OLED::setRotation(true);
|
OLED::setRotation(false);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
OLED::setRotation(false);
|
OLED::setRotation(true);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
// do nothing on auto
|
// do nothing on auto
|
||||||
@@ -652,22 +652,28 @@ static void setTipOffset() {
|
|||||||
|
|
||||||
uint32_t offset = 0;
|
uint32_t offset = 0;
|
||||||
for (uint8_t i = 0; i < 15; i++) {
|
for (uint8_t i = 0; i < 15; i++) {
|
||||||
offset += getTipRawTemp(1);
|
offset += getTipRawTemp(0);
|
||||||
// cycle through the filter a fair bit to ensure we're stable.
|
// cycle through the filter a fair bit to ensure we're stable.
|
||||||
OLED::clearScreen();
|
OLED::clearScreen();
|
||||||
OLED::setCursor(0, 0);
|
OLED::setCursor(0, 0);
|
||||||
|
OLED::print(".");
|
||||||
for (uint8_t x = 0; x < i / 4; x++)
|
for (uint8_t x = 0; x < i / 4; x++)
|
||||||
OLED::print(".");
|
OLED::print(".");
|
||||||
OLED::refresh();
|
OLED::refresh();
|
||||||
osDelay(333);
|
osDelay(100);
|
||||||
}
|
}
|
||||||
systemSettings.CalibrationOffset = offset / 15;
|
systemSettings.CalibrationOffset = offset / 15;
|
||||||
// Need to remove from this the ambient temperature offset
|
// Need to remove from this the ambient temperature offset
|
||||||
uint32_t ambientoffset = getHandleTemperature(); // Handle temp in C
|
uint32_t ambientoffset = getHandleTemperature(); // Handle temp in C x10
|
||||||
ambientoffset *=1000;
|
ambientoffset *= 100;
|
||||||
ambientoffset /= tipGainCalValue;
|
ambientoffset /= tipGainCalValue;
|
||||||
|
systemSettings.CalibrationOffset -= ambientoffset;
|
||||||
setCalibrationOffset(systemSettings.CalibrationOffset); // store the error
|
setCalibrationOffset(systemSettings.CalibrationOffset); // store the error
|
||||||
osDelay(100);
|
OLED::clearScreen();
|
||||||
|
OLED::setCursor(0, 0);
|
||||||
|
OLED::print("OK");
|
||||||
|
OLED::refresh();
|
||||||
|
osDelay(1000);
|
||||||
}
|
}
|
||||||
static void calibration_enterSimpleCal(void) {
|
static void calibration_enterSimpleCal(void) {
|
||||||
// User has entered into the simple cal routine
|
// User has entered into the simple cal routine
|
||||||
@@ -816,10 +822,10 @@ static void settings_setCalibrateVIN(void) {
|
|||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
OLED::setCursor(0, 0);
|
OLED::setCursor(0, 0);
|
||||||
OLED::printNumber(getInputVoltageX10(systemSettings.voltageDiv,0) / 10,
|
OLED::printNumber(getInputVoltageX10(systemSettings.voltageDiv, 0) / 10,
|
||||||
2);
|
2);
|
||||||
OLED::print(".");
|
OLED::print(".");
|
||||||
OLED::printNumber(getInputVoltageX10(systemSettings.voltageDiv,0) % 10,
|
OLED::printNumber(getInputVoltageX10(systemSettings.voltageDiv, 0) % 10,
|
||||||
1);
|
1);
|
||||||
OLED::print("V");
|
OLED::print("V");
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ uint16_t getHandleTemperature() {
|
|||||||
result -= 4965; // remove 0.5V offset
|
result -= 4965; // remove 0.5V offset
|
||||||
// 10mV per C
|
// 10mV per C
|
||||||
// 99.29 counts per Deg C above 0C
|
// 99.29 counts per Deg C above 0C
|
||||||
result *= 10;
|
result *= 100;
|
||||||
result /= 993;
|
result /= 993;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -770,7 +770,7 @@ void startGUITask(void const *argument __unused) {
|
|||||||
bool buttonLockout = false;
|
bool buttonLockout = false;
|
||||||
bool tempOnDisplay = false;
|
bool tempOnDisplay = false;
|
||||||
getTipRawTemp(1); // reset filter
|
getTipRawTemp(1); // reset filter
|
||||||
OLED::setRotation(!(systemSettings.OrientationMode & 1));
|
OLED::setRotation(systemSettings.OrientationMode & 1);
|
||||||
uint32_t ticks = xTaskGetTickCount();
|
uint32_t ticks = xTaskGetTickCount();
|
||||||
ticks += 400; // 4 seconds from now
|
ticks += 400; // 4 seconds from now
|
||||||
while (xTaskGetTickCount() < ticks) {
|
while (xTaskGetTickCount() < ticks) {
|
||||||
@@ -939,7 +939,7 @@ void startPIDTask(void const *argument __unused) {
|
|||||||
#ifdef MODEL_TS80
|
#ifdef MODEL_TS80
|
||||||
//Set power management code to the tip resistance in ohms * 10
|
//Set power management code to the tip resistance in ohms * 10
|
||||||
setupPower(calculateTipR() / 100);
|
setupPower(calculateTipR() / 100);
|
||||||
size_t lastPowerPulse = 0;
|
//size_t lastPowerPulse = 0;
|
||||||
#else
|
#else
|
||||||
setupPower(85);
|
setupPower(85);
|
||||||
|
|
||||||
@@ -1056,7 +1056,7 @@ void startMOVTask(void const *argument __unused) {
|
|||||||
osDelay(250); // wait for accelerometer to stabilize
|
osDelay(250); // wait for accelerometer to stabilize
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
OLED::setRotation(!(systemSettings.OrientationMode & 1));
|
OLED::setRotation(systemSettings.OrientationMode & 1);
|
||||||
lastMovementTime = 0;
|
lastMovementTime = 0;
|
||||||
int16_t datax[MOVFilter] = { 0 };
|
int16_t datax[MOVFilter] = { 0 };
|
||||||
int16_t datay[MOVFilter] = { 0 };
|
int16_t datay[MOVFilter] = { 0 };
|
||||||
|
|||||||
@@ -485,6 +485,7 @@
|
|||||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
<storageModule moduleId="refreshScope" versionNumber="2">
|
||||||
<configuration configurationName="TS100"/>
|
<configuration configurationName="TS100"/>
|
||||||
|
<configuration configurationName="TS100_LOCAL"/>
|
||||||
<configuration configurationName="Release">
|
<configuration configurationName="Release">
|
||||||
<resource resourceType="PROJECT" workspacePath="/TS100A"/>
|
<resource resourceType="PROJECT" workspacePath="/TS100A"/>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||||
<provider class="com.atollic.truestudio.mbs.GCCSpecsDetectorAtollicArm" console="false" env-hash="1636694427566673783" id="com.atollic.truestudio.mbs.provider" keep-relative-paths="false" name="Atollic ARM Tools Language Settings" parameter="${COMMAND} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
<provider class="com.atollic.truestudio.mbs.GCCSpecsDetectorAtollicArm" console="false" env-hash="-167355215276254258" id="com.atollic.truestudio.mbs.provider" keep-relative-paths="false" name="Atollic ARM Tools Language Settings" parameter="${COMMAND} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||||
</provider>
|
</provider>
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||||
<provider class="com.atollic.truestudio.mbs.GCCSpecsDetectorAtollicArm" console="false" env-hash="1636694427566673783" id="com.atollic.truestudio.mbs.provider" keep-relative-paths="false" name="Atollic ARM Tools Language Settings" parameter="${COMMAND} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
<provider class="com.atollic.truestudio.mbs.GCCSpecsDetectorAtollicArm" console="false" env-hash="-167355215276254258" id="com.atollic.truestudio.mbs.provider" keep-relative-paths="false" name="Atollic ARM Tools Language Settings" parameter="${COMMAND} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||||
</provider>
|
</provider>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||||
<provider class="com.atollic.truestudio.mbs.GCCSpecsDetectorAtollicArm" console="false" env-hash="1636694427566673783" id="com.atollic.truestudio.mbs.provider" keep-relative-paths="false" name="Atollic ARM Tools Language Settings" parameter="${COMMAND} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
<provider class="com.atollic.truestudio.mbs.GCCSpecsDetectorAtollicArm" console="false" env-hash="-167355215276254258" id="com.atollic.truestudio.mbs.provider" keep-relative-paths="false" name="Atollic ARM Tools Language Settings" parameter="${COMMAND} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||||
</provider>
|
</provider>
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
|
encoding//inc/Font.h=UTF-8
|
||||||
encoding//src/Translation.cpp=UTF-8
|
encoding//src/Translation.cpp=UTF-8
|
||||||
|
|||||||
Reference in New Issue
Block a user