Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parentheses in macros, and in general clean up quantum.h #5021

Merged
merged 14 commits into from
Jul 9, 2019
Merged
Prev Previous commit
Next Next commit
Revert #if defined(__AVR__) → #ifdef __AVR__ change
  • Loading branch information
vomindoraan committed Mar 29, 2019
commit 798a4265fcd35812233f5eea08202ad54c19ed49
4 changes: 2 additions & 2 deletions quantum/quantum.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
#ifndef QUANTUM_H
#define QUANTUM_H

#ifdef __AVR__
#if defined(__AVR__)
#include <avr/pgmspace.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#endif
#ifdef PROTOCOL_CHIBIOS
#if defined(PROTOCOL_CHIBIOS)
#include "hal.h"
#endif

Expand Down