Hackathon Repo
Dependencies: C12832
Revision 9:179e6db867bd, committed 2017-10-13
- Comitter:
- sarahmarshy
- Date:
- Fri Oct 13 18:31:31 2017 +0000
- Parent:
- 8:a33c688b7139
- Commit message:
- Added button macro
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r a33c688b7139 -r 179e6db867bd main.cpp --- a/main.cpp Tue Oct 10 21:02:09 2017 +0000 +++ b/main.cpp Fri Oct 13 18:31:31 2017 +0000 @@ -13,6 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +#if defined(TARGET_K64F) +#define BUTTON SW2 +#else +#define BUTTON SW0 +#endif #if APP_SHIELD_DEMO == 1 #include "1_app_shield/main.h"