Giter Club home page Giter Club logo

Comments (4)

mtheall avatar mtheall commented on June 14, 2024

I'll take a look when I get a chance. Is the ftp code lifted as-is or are there some mods?

It would be useful if you can mark the source code's origin and mark specific modifications.

from 3dshell.

joel16 avatar joel16 commented on June 14, 2024

Well, in ftp it's entirely all yours except for the console rendering/printing stuff, had to remove those to make it suit the GUI. There are very little differences, mainly those being in ftp where you'd check if KEY_B is pressed, mine uses a touch instead. Apart from that there isn't anything really. Also, mine doesn't use the wait for B loop, it handles that in ftp.c directly.

I can comment my modifications and push a commit tomorrow morning if that helps. Thanks for looking into this.

Just so you know, if you do enable ftp a second time without exiting. There isn't any problems with it, it connects ane disconnects properly but you can't exit the app or use the home button(after you disable it the second time), it would require a hard reset.

from 3dshell.

joel16 avatar joel16 commented on June 14, 2024

Alright so I've updated the source with your latest changes, and indicated modification. 631d3c7 You can just control + f on "MODIFIED HERE" and you can find where it starts and ends.

In main.c

if ((kPress & KEY_TOUCH) && (touchInRect(98, 123, 0, 20)))
from lines 475 to 502 is where FTP can be activated/reactivated

And this is my loop function:

static loop_status_t loop(loop_status_t (*callback)(void))
.

from 3dshell.

joel16 avatar joel16 commented on June 14, 2024

Heh, fixed. f52778a

from 3dshell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.