FreeCalypso > hg > fc-tourmaline
changeset 270:4f59ca578891
buzzer.c: rm remnants of C-Sample LT
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 13 Jun 2021 18:32:16 +0000 |
parents | 4f839e1991e8 |
children | d478d9ed1c3e |
files | src/cs/drivers/drv_app/buzzer/buzzer.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/buzzer/buzzer.c Sun Jun 13 18:28:01 2021 +0000 +++ b/src/cs/drivers/drv_app/buzzer/buzzer.c Sun Jun 13 18:32:16 2021 +0000 @@ -150,10 +150,12 @@ */ void LT_Level(SYS_WORD8 level) { +#if (BOARD == 7 || BOARD == 8 || BOARD == 9) if (level > 63) level=63; // the level range is 0 up to 63 *((volatile SYS_UWORD16 *) LT_LEVEL) = level; +#endif } @@ -170,8 +172,7 @@ return(1); // the light is on else return(0); +#else + return(0); #endif - -return(0); - }