- build clean

git-svn-id: http://moon:8086/svn/mips@7 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2014-07-20 19:03:26 +00:00
parent b53ad2d094
commit 878d7c3060
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -63,6 +63,10 @@
#define FLASH_BASE_MEM 0x00000000
#endif
// Backwards compatibility
#define SYS_FLASH_IO FLASH_BASE_IO
#define SYS_FLASH_MEM FLASH_BASE_MEM
// GPIO
#define SYS_GPIO_0_BASE (SYS_IO_BASE + 0)
#define SYS_GPIO_0_DATA (SYS_GPIO_0_BASE + 0)
+1 -1
View File
@@ -236,7 +236,7 @@ int main( int argc, char* argv[] ) {
while( 1 )
{
if (*pBtn & GPIO_0_BTN)
if (*pBtn & SYS_GPIO_0_DATA)
{
srand(clock());
initializeBoard( matrix );