Emit an error when compiling for anything else but the Model01

This fixes #3.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/365/head
Gergely Nagy 6 years ago
parent cb4d0cbb03
commit c482062be4

@ -16,6 +16,10 @@
#pragma once
#ifndef ARDUINO_AVR_MODEL01
#error The Kaleidoscope-Model01-TestMode plugin was designed for the Keyboardio Model01, and does not work with any other hardware.
#endif
#include <Arduino.h>
#include "Kaleidoscope.h"

Loading…
Cancel
Save