Subversion Repositories Projects

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
2601 2232 d 1 h /C-OSD/trunk/ 20180509-1200
*adapted structs to reflect FC/NC software V2.20c/V2.20h
 
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/README.TXT
/C-OSD/trunk/buttons.c
/C-OSD/trunk/buttons.h
/C-OSD/trunk/characters.c
/C-OSD/trunk/characters.h
/C-OSD/trunk/config.c
/C-OSD/trunk/config.h
/C-OSD/trunk/default/dist.bat
/C-OSD/trunk/default/dist.sh
/C-OSD/trunk/default/flash-usbasp.bat
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/osd_fcmode_default.c
/C-OSD/trunk/osd_fcmode_default.h
/C-OSD/trunk/osd_fcmode_jopl.c
/C-OSD/trunk/osd_fcmode_jopl.h
/C-OSD/trunk/osd_helpers.c
/C-OSD/trunk/osd_helpers.h
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_default.h
/C-OSD/trunk/osd_ncmode_minimal.c
/C-OSD/trunk/osd_ncmode_minimal.h
/C-OSD/trunk/ppm.c
/C-OSD/trunk/ppm.h
/C-OSD/trunk/spi.c
/C-OSD/trunk/spi.h
/C-OSD/trunk/usart0.c
/C-OSD/trunk/usart0.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
2598 2593 d 2 h /C-OSD/trunk/ 20170511-1145
*adapted structs to reflect FC/NC software V2.18a
 
/C-OSD/trunk/C-OSD.aps
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/README.TXT
/C-OSD/trunk/buttons.c
/C-OSD/trunk/buttons.h
/C-OSD/trunk/c-osd.aws
/C-OSD/trunk/characters.c
/C-OSD/trunk/characters.h
/C-OSD/trunk/config.c
/C-OSD/trunk/config.h
/C-OSD/trunk/default/dist.bat
/C-OSD/trunk/default/dist.sh
/C-OSD/trunk/default/flash-usbasp.bat
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/osd_fcmode_default.c
/C-OSD/trunk/osd_fcmode_default.h
/C-OSD/trunk/osd_fcmode_jopl.c
/C-OSD/trunk/osd_fcmode_jopl.h
/C-OSD/trunk/osd_helpers.c
/C-OSD/trunk/osd_helpers.h
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_default.h
/C-OSD/trunk/osd_ncmode_minimal.c
/C-OSD/trunk/osd_ncmode_minimal.h
/C-OSD/trunk/ppm.c
/C-OSD/trunk/ppm.h
/C-OSD/trunk/spi.c
/C-OSD/trunk/spi.h
/C-OSD/trunk/usart0.c
/C-OSD/trunk/usart0.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
2225 3029 d 6 h /C-OSD/trunk/ 20160302-0700
*adapted structs to reflect FC/NC software V2.14a/b
 
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/README.TXT
/C-OSD/trunk/buttons.c
/C-OSD/trunk/buttons.h
/C-OSD/trunk/characters.c
/C-OSD/trunk/characters.h
/C-OSD/trunk/config.c
/C-OSD/trunk/config.h
/C-OSD/trunk/default/Makefile
/C-OSD/trunk/default/dist.bat
/C-OSD/trunk/default/dist.sh
/C-OSD/trunk/default/flash-usbasp.bat
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/osd_fcmode_default.c
/C-OSD/trunk/osd_fcmode_default.h
/C-OSD/trunk/osd_fcmode_jopl.c
/C-OSD/trunk/osd_fcmode_jopl.h
/C-OSD/trunk/osd_helpers.c
/C-OSD/trunk/osd_helpers.h
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_default.h
/C-OSD/trunk/osd_ncmode_minimal.c
/C-OSD/trunk/osd_ncmode_minimal.h
/C-OSD/trunk/ppm.c
/C-OSD/trunk/ppm.h
/C-OSD/trunk/spi.c
/C-OSD/trunk/spi.h
/C-OSD/trunk/usart0.c
/C-OSD/trunk/usart0.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
2099 3339 d 15 h /C-OSD/trunk/ *adapted structs to reflect FC/NC software V2.10a/b  
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/README.TXT
/C-OSD/trunk/buttons.c
/C-OSD/trunk/buttons.h
/C-OSD/trunk/c-osd.aws
/C-OSD/trunk/characters.c
/C-OSD/trunk/characters.h
/C-OSD/trunk/config.c
/C-OSD/trunk/config.h
/C-OSD/trunk/default/Makefile
/C-OSD/trunk/default/dist.bat
/C-OSD/trunk/default/dist.sh
/C-OSD/trunk/default/flash-usbasp.bat
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/osd_fcmode_default.c
/C-OSD/trunk/osd_fcmode_default.h
/C-OSD/trunk/osd_fcmode_jopl.c
/C-OSD/trunk/osd_fcmode_jopl.h
/C-OSD/trunk/osd_helpers.c
/C-OSD/trunk/osd_helpers.h
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_default.h
/C-OSD/trunk/osd_ncmode_minimal.c
/C-OSD/trunk/osd_ncmode_minimal.h
/C-OSD/trunk/ppm.c
/C-OSD/trunk/ppm.h
/C-OSD/trunk/spi.c
/C-OSD/trunk/spi.h
/C-OSD/trunk/usart0.c
/C-OSD/trunk/usart0.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
2039 3749 d 4 h /C-OSD/trunk/ *adapted structs to reflect FC/NC software V2.04a  
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/README.TXT
/C-OSD/trunk/buttons.c
/C-OSD/trunk/buttons.h
/C-OSD/trunk/c-osd.aws
/C-OSD/trunk/characters.c
/C-OSD/trunk/characters.h
/C-OSD/trunk/config.c
/C-OSD/trunk/config.h
/C-OSD/trunk/default/Makefile
/C-OSD/trunk/default/dist.bat
/C-OSD/trunk/default/dist.sh
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/osd_fcmode_default.c
/C-OSD/trunk/osd_fcmode_default.h
/C-OSD/trunk/osd_fcmode_jopl.c
/C-OSD/trunk/osd_fcmode_jopl.h
/C-OSD/trunk/osd_helpers.c
/C-OSD/trunk/osd_helpers.h
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_default.h
/C-OSD/trunk/osd_ncmode_minimal.c
/C-OSD/trunk/osd_ncmode_minimal.h
/C-OSD/trunk/ppm.c
/C-OSD/trunk/ppm.h
/C-OSD/trunk/spi.c
/C-OSD/trunk/spi.h
/C-OSD/trunk/usart0.c
/C-OSD/trunk/usart0.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
1866 4137 d 16 h /C-OSD/trunk/ +Source option to set the Aggr.Horizon indicator bars on the same level as the horizon
(requested)
 
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/README.TXT
/C-OSD/trunk/buttons.c
/C-OSD/trunk/buttons.h
/C-OSD/trunk/characters.c
/C-OSD/trunk/characters.h
/C-OSD/trunk/config.c
/C-OSD/trunk/config.h
/C-OSD/trunk/default/Makefile
/C-OSD/trunk/default/dist.bat
/C-OSD/trunk/default/dist.sh
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/osd_fcmode_default.c
/C-OSD/trunk/osd_fcmode_default.h
/C-OSD/trunk/osd_fcmode_jopl.c
/C-OSD/trunk/osd_fcmode_jopl.h
/C-OSD/trunk/osd_helpers.c
/C-OSD/trunk/osd_helpers.h
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_default.h
/C-OSD/trunk/osd_ncmode_minimal.c
/C-OSD/trunk/osd_ncmode_minimal.h
/C-OSD/trunk/ppm.c
/C-OSD/trunk/ppm.h
/C-OSD/trunk/spi.c
/C-OSD/trunk/spi.h
/C-OSD/trunk/usart0.c
/C-OSD/trunk/usart0.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
1437 4550 d 1 h /C-OSD/ @//remarks is error.
@clearing only take 20us. Not 12us
 
/C-OSD/C-Epilepsy/CHANGE.LOG
/C-OSD/C-Epilepsy/README.TXT
/C-OSD/C-Epilepsy/buttons.c
/C-OSD/C-Epilepsy/buttons.h
/C-OSD/C-Epilepsy/default/dist.bat
/C-OSD/C-Epilepsy/eeprom.c
/C-OSD/C-Epilepsy/eeprom.h
/C-OSD/C-Epilepsy/epi_helpers.c
/C-OSD/C-Epilepsy/epi_helpers.h
/C-OSD/C-Epilepsy/integer_math.c
/C-OSD/C-Epilepsy/integer_math.h
/C-OSD/C-Epilepsy/led_out.c
/C-OSD/C-Epilepsy/led_out.h
/C-OSD/C-Epilepsy/main.c
/C-OSD/C-Epilepsy/main.h
/C-OSD/C-Epilepsy/mk-data-structs.h
/C-OSD/C-Epilepsy/nc_handler.c
/C-OSD/C-Epilepsy/nc_handler.h
/C-OSD/C-Epilepsy/player.c
/C-OSD/C-Epilepsy/player.h
/C-OSD/C-Epilepsy/timer0.c
/C-OSD/C-Epilepsy/timer0.h
/C-OSD/C-Epilepsy/timer1.c
/C-OSD/C-Epilepsy/timer1.h
/C-OSD/C-Epilepsy/usart0.c
/C-OSD/C-Epilepsy/usart0.h
/C-OSD/C-Epilepsy/usart1.c
/C-OSD/C-Epilepsy/usart1.h
/C-OSD/C-Strom/trunk/C-Strom.c
/C-OSD/C-Strom/trunk/C-Strom.h
/C-OSD/C-Strom/trunk/CHANGE.LOG
/C-OSD/C-Strom/trunk/README.TXT
/C-OSD/C-Strom/trunk/default/Makefile
/C-OSD/C-Strom/trunk/i2c_slave.c
/C-OSD/C-Strom/trunk/i2c_slave.h
/C-OSD/C-Strom/trunk/spi_union.h
/C-OSD/trunk/C-OSD.aps
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/README.TXT
/C-OSD/trunk/buttons.c
/C-OSD/trunk/buttons.h
/C-OSD/trunk/c-osd.aws
/C-OSD/trunk/characters.c
/C-OSD/trunk/characters.h
/C-OSD/trunk/config.c
/C-OSD/trunk/config.h
/C-OSD/trunk/default/Makefile
/C-OSD/trunk/default/dist.bat
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/osd_fcmode_default.c
/C-OSD/trunk/osd_fcmode_default.h
/C-OSD/trunk/osd_fcmode_jopl.c
/C-OSD/trunk/osd_fcmode_jopl.h
/C-OSD/trunk/osd_helpers.c
/C-OSD/trunk/osd_helpers.h
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_default.h
/C-OSD/trunk/osd_ncmode_minimal.c
/C-OSD/trunk/osd_ncmode_minimal.h
/C-OSD/trunk/ppm.c
/C-OSD/trunk/ppm.h
/C-OSD/trunk/spi.c
/C-OSD/trunk/spi.h
/C-OSD/trunk/usart0.c
/C-OSD/trunk/usart0.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
902 4884 d 23 h /C-OSD/ *added big speed indicator (credits to: uwerner)
*added possibility to show GPS-Coordinates during flight
*added more _brackets_
@To see correct corner-chars when using scope, flash the character-set
included in this release!
 
/C-OSD/C-Strom/trunk/default
/C-OSD/C-Strom/trunk/default/Makefile
/C-OSD/C-Strom/trunk/C-Strom.c
/C-OSD/C-Strom/trunk/C-Strom.h
/C-OSD/C-Strom/trunk/CHANGE.LOG
/C-OSD/C-Strom/trunk/README.TXT
/C-OSD/C-Strom/trunk/i2c_slave.c
/C-OSD/C-Strom/trunk/i2c_slave.h
/C-OSD/C-Strom/trunk/spi_union.h
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/README.TXT
/C-OSD/trunk/buttons.c
/C-OSD/trunk/buttons.h
/C-OSD/trunk/c-osd.mcm
/C-OSD/trunk/characters.c
/C-OSD/trunk/characters.h
/C-OSD/trunk/config.c
/C-OSD/trunk/config.h
/C-OSD/trunk/default/Makefile
/C-OSD/trunk/default/dist.bat
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/osd_fcmode_default.c
/C-OSD/trunk/osd_fcmode_default.h
/C-OSD/trunk/osd_fcmode_jopl.c
/C-OSD/trunk/osd_fcmode_jopl.h
/C-OSD/trunk/osd_helpers.c
/C-OSD/trunk/osd_helpers.h
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_default.h
/C-OSD/trunk/osd_ncmode_minimal.c
/C-OSD/trunk/osd_ncmode_minimal.h
/C-OSD/trunk/ppm.c
/C-OSD/trunk/ppm.h
/C-OSD/trunk/spi.c
/C-OSD/trunk/spi.h
/C-OSD/trunk/usart0.c
/C-OSD/trunk/usart0.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
783 5071 d 23 h /C-OSD/trunk/ *added current setting display
*updated structs for FC 0.80 and NC 0.20 (old version will still work, just cosmetics)
*battery warn level now _can_ be taken from the FC-Settings
*corrected some defines so FC stuff is only in FC Builds and NC stuff only in NC builds
 
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/c-osd.aws
/C-OSD/trunk/config.c
/C-OSD/trunk/default/dist.bat
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/osd_fcmode_default.c
/C-OSD/trunk/osd_fcmode_jopl.c
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_default.h
/C-OSD/trunk/osd_ncmode_minimal.c
/C-OSD/trunk/osd_ncmode_minimal.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
762 5131 d 22 h /C-OSD/trunk/ *fixed bug in stats when max-distance > 999m  
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/buttons.h
/C-OSD/trunk/c-osd.aws
/C-OSD/trunk/characters.h
/C-OSD/trunk/config.c
/C-OSD/trunk/config.h
/C-OSD/trunk/default/dist.bat
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/osd_fcmode_default.h
/C-OSD/trunk/osd_fcmode_jopl.h
/C-OSD/trunk/osd_helpers.h
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_default.h
/C-OSD/trunk/osd_ncmode_minimal.h
/C-OSD/trunk/ppm.h
/C-OSD/trunk/spi.h
/C-OSD/trunk/usart1.h
736 5235 d 22 h cascade /C-OSD/trunk/ *some menu stuff
*stats in nc_default do not disturb the bigvario anymore
*reduced code size from 16088 bytes (98.2% Full) 15436 bytes (94.2% Full)
 
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/config.c
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/osd_ncmode_default.c
728 5239 d 13 h cascade /C-OSD/trunk/ adapted MK-datastructs to NC 0.18c
added choice for current display measured by FC
 
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/README.TXT
/C-OSD/trunk/buttons.c
/C-OSD/trunk/buttons.h
/C-OSD/trunk/characters.c
/C-OSD/trunk/characters.h
/C-OSD/trunk/config.c
/C-OSD/trunk/config.h
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/osd_fcmode_default.c
/C-OSD/trunk/osd_fcmode_default.h
/C-OSD/trunk/osd_fcmode_jopl.c
/C-OSD/trunk/osd_fcmode_jopl.h
/C-OSD/trunk/osd_helpers.c
/C-OSD/trunk/osd_helpers.h
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_default.h
/C-OSD/trunk/osd_ncmode_minimal.c
/C-OSD/trunk/osd_ncmode_minimal.h
/C-OSD/trunk/ppm.c
/C-OSD/trunk/ppm.h
/C-OSD/trunk/spi.c
/C-OSD/trunk/spi.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
519 5464 d 13 h cascade /C-OSD/trunk/ *write-number-functions changed, using itoa now, saves space, should be faster
*inline added for basic max7456-spi_send because saves procedure call (^= time)
 
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/c-osd.aws
/C-OSD/trunk/config.c
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/osd_fcmode_default.c
/C-OSD/trunk/osd_ncmode_default.c
/C-OSD/trunk/osd_ncmode_minimal.c
489 5494 d 17 h woggle /C-OSD/trunk/ more precise timer, move more data to PROGMEM, remove warnings  
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/config.c
/C-OSD/trunk/main.c
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/osd_helpers.c
/C-OSD/trunk/osd_ncmode_default.c
412 5530 d 14 h cascade /C-OSD/trunk/ +write_gps_pos(...) (needs to be tested)
+gps position is shown in stats screen for testing purpose
 
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/main.c
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
404 5530 d 18 h cascade /C-OSD/trunk/ *clearing of screen (2nd try to make it faster)  
/C-OSD/trunk/main.c
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
379 5540 d 1 h cascade /C-OSD/trunk/ +big vario for testing purpose
(Character Set 192 needs to be flashed)
 
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/README.TXT
/C-OSD/trunk/c-osd.mcm
/C-OSD/trunk/characters.c
/C-OSD/trunk/main.c
/C-OSD/trunk/main.h
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
349 5550 d 13 h cascade /C-OSD/trunk/ *rewrote number->display functions
*fixed height bug (uint vs int)
 
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/default/Makefile
/C-OSD/trunk/main.c
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
346 5550 d 16 h cascade /C-OSD/trunk/ +added request of OSD data, disrequest of debug data and uptime reset to menu
-removed the uptime-reset binding from S2
+pgm space for some strings to save _normal_ data space
*some code movement
 
/C-OSD/trunk/main.h
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/c-osd.aws
/C-OSD/trunk/default/Makefile
/C-OSD/trunk/main.c
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
331 5556 d 12 h cascade /C-OSD/trunk/ + disabling the txd pin while not using it so it won't interfere with KopterTool usage (thx joko)
+ if no data has been received for over 2sec we re-request it
* tried source organisation a bit
 
/C-OSD/trunk/characters.c
/C-OSD/trunk/max7456_software_spi.c
/C-OSD/trunk/max7456_software_spi.h
/C-OSD/trunk/mk-data-structs.h
/C-OSD/trunk/usart1.c
/C-OSD/trunk/usart1.h
/C-OSD/trunk/CHANGE.LOG
/C-OSD/trunk/main.c