Skip to content

Commit

Permalink
Remove boards.js
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Jan 11, 2024
1 parent 2fc6465 commit 3f2c60e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 101 deletions.
95 changes: 0 additions & 95 deletions src/js/boards.js

This file was deleted.

6 changes: 0 additions & 6 deletions src/js/tabs/ports.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import FC from '../fc';
import MSP from '../msp';
import MSPCodes from '../msp/MSPCodes';
import { API_VERSION_1_42, API_VERSION_1_43, API_VERSION_1_45 } from '../data_storage';
import BOARD from '../boards';
import $ from 'jquery';

const ports = {
Expand All @@ -17,8 +16,6 @@ const ports = {
ports.initialize = function (callback) {
const self = this;

let board_definition = {};

const functionRules = [
{ name: 'MSP', groups: ['configuration', 'msp'], maxPorts: 2 },
{ name: 'GPS', groups: ['sensors'], maxPorts: 1 },
Expand Down Expand Up @@ -112,9 +109,6 @@ ports.initialize = function (callback) {

function on_configuration_loaded_handler() {
$('#content').load("./tabs/ports.html", on_tab_loaded_handler);

board_definition = BOARD.find_board_definition(FC.CONFIG.boardIdentifier);
console.log('Using board definition', board_definition);
}
}

Expand Down

0 comments on commit 3f2c60e

Please sign in to comment.