mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Added stubs for tests
This commit is contained in:
parent
ecc66cb2d4
commit
6b4b880c85
2 changed files with 48 additions and 0 deletions
|
@ -148,4 +148,28 @@ bool i2cRead(uint8_t, uint8_t, uint8_t, uint8_t) {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool spiWriteRegister(uint8_t, uint8_t, uint8_t) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool spiReadRegisterBuffer(uint8_t, uint8_t, uint8_t, uint8_t) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void spiSetDivisor() {
|
||||
}
|
||||
|
||||
void IOConfigGPIO() {
|
||||
}
|
||||
|
||||
void IOHi() {
|
||||
}
|
||||
|
||||
void IOInit() {
|
||||
}
|
||||
|
||||
void IORelease() {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -149,4 +149,28 @@ bool i2cRead(uint8_t, uint8_t, uint8_t, uint8_t) {
|
|||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool spiWriteRegister(uint8_t, uint8_t, uint8_t) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool spiReadRegisterBuffer(uint8_t, uint8_t, uint8_t, uint8_t) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void spiSetDivisor() {
|
||||
}
|
||||
|
||||
void IOConfigGPIO() {
|
||||
}
|
||||
|
||||
void IOHi() {
|
||||
}
|
||||
|
||||
void IOInit() {
|
||||
}
|
||||
|
||||
void IORelease() {
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue