Skip to content

Commit

Permalink
fix Arduino IDE build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Paciente8159 committed Oct 3, 2024
1 parent f07831a commit 6c41a09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion uCNC/cnc_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ extern "C"
* */

#ifndef BOARD
#define BOARD "src/hal/boards/avr/boardmap_uno.h"
#define BOARD "avr/boardmap_uno.h"
#endif

// optional name to override default board name build info (if option enabled)
Expand Down
2 changes: 1 addition & 1 deletion uCNC/src/hal/mcus/stm32f4x/mcu_stm32f4x.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
See the GNU General Public License for more details.
*/

#include "src/cnc.h"
#include "../../../cnc.h"

#if (MCU == MCU_STM32F4X)
#include "core_cm4.h"
Expand Down
2 changes: 1 addition & 1 deletion uCNC/src/hal/mcus/stm32f4x/stm32f4x.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#include "src/cnc.h"
#include "../../../cnc.h"

#if (MCU == MCU_STM32F4X) && defined(CUSTOM_PRE_MAIN)
#include "stm32f4xx.h"
Expand Down

0 comments on commit 6c41a09

Please sign in to comment.