1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-27 16:54:15 +01:00

added hint on how to better distinguish FC/NC

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2001 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
ligi 2010-10-22 12:36:47 +00:00 committed by ligi
parent cc497c43dc
commit 523b6ad8f7

View File

@ -527,6 +527,7 @@ static void MkSerialTask(void *parameters)
}
// Dependent on version, decide it we are connected to NC or FC
// TODO: use slave-addr to distinguish FC/NC -> much safer
if (version < 60) {
DoConnectedToNC(); // Will only return after an error
} else {