Workaround for pin_def errors on KINETIS (#16614)

This commit is contained in:
Joel Challis 2022-03-11 13:27:29 +00:00 committed by GitHub
parent 0015ebad47
commit 1833e65370
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@
*/
#pragma once
// TODO: including this avoids "error: expected identifier before '(' token" errors
// here just to please KINETIS builds...
#include "platform_deps.h"
// useful for direct pin mapping
#define NO_PIN (pin_t)(~0)