Browse Source

superseded by borgware

feature/2015
Hans-Gert Dahmen 13 years ago
parent
commit
0ad1dde4b8
  1. 4
      animations/Makefile
  2. 6
      animations/borg_time.c
  3. 1
      animations/config.in
  4. 3
      config.in
  5. 2
      display_loop.c

4
animations/Makefile

@ -57,4 +57,8 @@ ifneq (,$(filter y,$(ANIMATION_PLASMA) $(ANIMATION_PSYCHEDELIC)))
SRC += fpmath_patterns.c
endif
ifeq ($(ANIMATION_TIME),y)
SRC += borg_time.c
endif
include $(TOPDIR)/rules.mk

6
animations/borg_time.c

@ -8,10 +8,10 @@
#include <stdlib.h>
#include <avr/pgmspace.h>
#include "../config.h"
#include "../can.h"
#include "../lap.h"
#include "../can/can.h"
#include "../can/lap.h"
#include "../util.h"
#include "../scrolltext.h"
#include "../scrolltext/scrolltext.h"
//address of the time master
#define TIME_MASTER_ADDR 0x00

1
animations/config.in

@ -14,6 +14,7 @@ comment "Animations"
dep_bool "Breakout Demo" ANIMATION_BREAKOUT $GAME_BREAKOUT
bool "Martin Herweg" ANIMATION_MHERWEG $RANDOM_SUPPORT
dep_bool "Langton Ant" ANIMATION_LTN_ANT $RANDOM_SUPPORT
dep_bool "Time Display" ANIMATION_TIME $SCROLLTEXT_SUPPORT $LAP_TIME_EXTENSION
dep_bool_menu "Bitmap Scroller" ANIMATION_BMSCROLLER y $RANDOM_SUPPORT
dep_bool "LABOR Logo" ANIMATION_LABORLOGO $ANIMATION_BMSCROLLER

3
config.in

@ -26,7 +26,8 @@ source borg_hw/config.in
### Features Menu #############################################################
mainmenu_option next_comment
comment "Features"
bool "prng random number generator" RANDOM_SUPPORT y
bool "prng random number generator" RANDOM_SUPPORT y
dep_bool "CAN Time Extension" LAP_TIME_EXTENSION $CAN_SUPPORT
endmenu
###############################################################################

2
display_loop.c

@ -17,7 +17,9 @@
#include "animations/outofspec.h"
#include "animations/fpmath_patterns.h"
#include "animations/mherweg.h"
#ifdef ANIMATION_TIME
#include "animations/borg_time.h"
#endif
#include "borg_hw/borg_hw.h"
#include "can/borg_can.h"
#include "random/prng.h"

Loading…
Cancel
Save