1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Update autotune so it now actually changes the pid values.

This commit also fixes a few missing const keywords after the map file
was inspected.
This commit is contained in:
Dominic Clifton 2014-05-27 21:20:29 +01:00
parent 2cf686b36b
commit bc84f6d5d4
8 changed files with 105 additions and 59 deletions

View file

@ -78,12 +78,12 @@ typedef struct serialPortSearchResult_s {
uint8_t startSerialPortFunctionIndex; // used by findNextSerialPort
} serialPortSearchResult_t;
static serialPortFunctionList_t serialPortFunctionList = {
static const serialPortFunctionList_t serialPortFunctionList = {
4,
serialPortFunctions
};
serialPortFunctionList_t *getSerialPortFunctionList(void)
const serialPortFunctionList_t *getSerialPortFunctionList(void)
{
return &serialPortFunctionList;
}