Change #warning to #error in ssid_config.h

This commit is contained in:
Alex Stewart 2016-04-06 11:42:58 -07:00
parent fa6dd22957
commit 5b16aa5ba4
2 changed files with 2 additions and 2 deletions

View file

@ -57,5 +57,5 @@ before_install:
script: script:
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
# Remove ssid_config requirement for examples # Remove ssid_config requirement for examples
- sed -i "s%#warning%//#warning%" include/ssid_config.h - sed -i "s%#error%//#error%" include/ssid_config.h
- make WARNINGS_AS_ERRORS=1 -C examples/ build-examples CROSS="ccache xtensa-lx106-elf-" V=1 - make WARNINGS_AS_ERRORS=1 -C examples/ build-examples CROSS="ccache xtensa-lx106-elf-" V=1

View file

@ -20,7 +20,7 @@
// https://www.kernel.org/pub/software/scm/git/docs/git-update-index.html // https://www.kernel.org/pub/software/scm/git/docs/git-update-index.html
// //
#warning "You need to enter your wifi credentials in this file and follow the instructions here to keep the password safe from Github commits." #error "You need to enter your wifi credentials in this file and follow the instructions here to keep the password safe from Github commits."
#ifndef __SSID_CONFIG_H__ #ifndef __SSID_CONFIG_H__
#define __SSID_CONFIG_H__ #define __SSID_CONFIG_H__