Stop compile warnings

This commit is contained in:
elecpower
2021-02-01 08:04:02 +11:00
parent c084a4a3c1
commit e0a5f26829
+4 -6
View File
@@ -91,12 +91,10 @@ uint32_t Boards::getFourCC(Type board)
return 0x4178746F; return 0x4178746F;
case BOARD_RADIOMASTER_T8: case BOARD_RADIOMASTER_T8:
return 0x4378746F; return 0x4378746F;
case BOARD_UNKNOWN: default:
break;
}
return 0; return 0;
} }
}
int Boards::getEEpromSize(Board::Type board) int Boards::getEEpromSize(Board::Type board)
{ {
@@ -130,10 +128,10 @@ int Boards::getEEpromSize(Board::Type board)
case BOARD_JUMPER_T18: case BOARD_JUMPER_T18:
case BOARD_RADIOMASTER_TX16S: case BOARD_RADIOMASTER_TX16S:
return 0; return 0;
} default:
return 0; return 0;
} }
}
int Boards::getFlashSize(Type board) int Boards::getFlashSize(Type board)
{ {