Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Commit

Permalink
Fixed compile errors in obsolete build configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
dc42 committed Nov 23, 2020
1 parent c354574 commit 438e008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
7 changes: 0 additions & 7 deletions variants/RADDS/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@
extern "C"{
#endif // __cplusplus

/**
* Libc porting layers
*/
#if defined ( __GNUC__ ) /* GCC CS3 */
# include <syscalls.h> /** RedHat Newlib minimal stub */
#endif

/*----------------------------------------------------------------------------
* Pins
*----------------------------------------------------------------------------*/
Expand Down
11 changes: 2 additions & 9 deletions variants/duet/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,14 @@
#include "Core.h"

#ifdef __cplusplus
#include "UARTClass.h"
#include "USARTClass.h"
# include "UARTClass.h"
# include "USARTClass.h"
#endif

#ifdef __cplusplus
extern "C"{
#endif // __cplusplus

/**
* Libc porting layers
*/
#if defined ( __GNUC__ ) /* GCC CS3 */
# include <syscalls.h> /** RedHat Newlib minimal stub */
#endif

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 438e008

Please sign in to comment.