Commit 11b8d87e authored by Over_score's avatar Over_score

Merge branch 'fix-compiler-warnings' into 'master'

Fixed some compiler warnings. Closes #365.

Closes #365

See merge request !445
parents 2f49f2f7 5f71e920
......@@ -416,7 +416,6 @@ void btnPressed(void *notUsed, void *data) {
if(calcMode == CM_NORMAL) {
uint32_t dataTypeX = getRegisterDataType(REGISTER_X);
uint32_t dataTypeY = getRegisterDataType(REGISTER_Y);
bool_t xIsAReal;
if( (dataTypeX == dtReal16 || dataTypeX == dtReal34 || dataTypeX == dtLongInteger)
&& (dataTypeY == dtReal16 || dataTypeY == dtReal34 || dataTypeY == dtLongInteger)) {
......
......@@ -30,8 +30,6 @@
***********************************************/
void fnCxToRe(uint16_t unusedParamButMandatory) {
uint32_t dataTypeX = getRegisterDataType(REGISTER_X);
uint32_t dataTypeY = getRegisterDataType(REGISTER_Y);
bool_t xIsAReal;
if(dataTypeX == dtComplex16) {
copySourceRegisterToDestRegister(REGISTER_X, REGISTER_L);
......
......@@ -1656,9 +1656,10 @@ void fnXLessThan(uint16_t unusedParamButMandatory) {
/********************************************//**
* \brief Lifts the stack and copies X to Y
*
* \param[in] unusedParamButMandatory uint16_t
* \return void
***********************************************/
void fnEnter() {
void fnEnter(uint16_t unusedParamButMandatory) {
STACK_LIFT_ENABLE;
liftStack();
......
......@@ -147,7 +147,7 @@ void fnRecallStack (uint16_t r);
void fnRecallElement (uint16_t r);
void fnRecallIJ (uint16_t r);
void fnXLessThan (uint16_t unusedParamButMandatory);
void fnEnter ();
void fnEnter (uint16_t unusedParamButMandatory);
int16_t indirectAddressing (calcRegister_t regist, int16_t minValue, int16_t maxValue);
void printReal16ToConsole (const real16_t *value);
void printReal34ToConsole (const real34_t *value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment