Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: fpga.cpp
- Revision:
- 17:f9610f3cfa1b
- Parent:
- 8:1ca49cb18290
- Child:
- 18:5aa48aec9cae
--- a/fpga.cpp Wed Nov 28 01:31:46 2018 +0000
+++ b/fpga.cpp Fri Nov 30 05:24:27 2018 +0000
@@ -150,11 +150,8 @@
//================================================================
//アクセル設定 位置 0:前 1後
//================================================================
-bool fpgaEngine(bool iFlontFlg , UINT16 iSlotl){
-
- xSpi((iFlontFlg==true)? ADR_ACCEL_F : ADR_ACCEL_B , iSlotl);
-
- return true;
+void fpgaEngine(UCHAR iID , UINT16 iSlotl){
+ xSpi((iID==0)? ADR_ACCEL_F : ADR_ACCEL_B , iSlotl);
}
//================================================================